diff options
author | Sakitoshi | 2018-11-06 05:54:34 -0300 |
---|---|---|
committer | Sakitoshi | 2018-11-06 05:54:34 -0300 |
commit | de95fedd6981b4608cb78180e3bddde7e675223c (patch) | |
tree | b8b2dc1c432ee994ea6d998dbfc8100c0f86e3cd /frontend/plugin.c | |
parent | 0370856deb325e759179c6835897e2553cef31c2 (diff) | |
download | pcsx_rearmed-de95fedd6981b4608cb78180e3bddde7e675223c.tar.gz pcsx_rearmed-de95fedd6981b4608cb78180e3bddde7e675223c.tar.bz2 pcsx_rearmed-de95fedd6981b4608cb78180e3bddde7e675223c.zip |
enabled scph-1110 analog joystick in the menu
analog pad tyoe now corresponds to the spch-1110 analog joystick or spch-1150 in flightstick mode.
the new pad type dualshock was added that corresponds to the old analog pad type spch-1200.
Diffstat (limited to 'frontend/plugin.c')
-rw-r--r-- | frontend/plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/plugin.c b/frontend/plugin.c index 6bb9aa4..1fcd7be 100644 --- a/frontend/plugin.c +++ b/frontend/plugin.c @@ -58,7 +58,7 @@ static long PADreadPort1(PadDataS *pad) { else pad->portMultitap = 0; - if (in_type[pad_index] == PSE_PAD_TYPE_ANALOGPAD || in_type[pad_index] == PSE_PAD_TYPE_NEGCON) + if (in_type[pad_index] == PSE_PAD_TYPE_ANALOGJOY || in_type[pad_index] == PSE_PAD_TYPE_ANALOGPAD || in_type[pad_index] == PSE_PAD_TYPE_NEGCON) { pad->leftJoyX = in_analog_left[pad_index][0]; pad->leftJoyY = in_analog_left[pad_index][1]; @@ -78,7 +78,7 @@ static long PADreadPort2(PadDataS *pad) { else pad->portMultitap = 0; - if (in_type[pad_index] == PSE_PAD_TYPE_ANALOGPAD || in_type[pad_index] == PSE_PAD_TYPE_NEGCON) + if (in_type[pad_index] == PSE_PAD_TYPE_ANALOGJOY || in_type[pad_index] == PSE_PAD_TYPE_ANALOGPAD || in_type[pad_index] == PSE_PAD_TYPE_NEGCON) { pad->leftJoyX = in_analog_left[pad_index][0]; pad->leftJoyY = in_analog_left[pad_index][1]; |