Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06260 DIP/Input Major Always Jun 26, 2016, 22:06 Jun 29, 2016, 02:33
Tester Shideravan View Status Public Platform MESS (Official Binary)
Assigned To Resolution Open OS Windows 10 (64-bit)
Status [?] Confirmed Driver
Version 0.174 Fixed in Version Build
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 06260: psa, pse, psj, psu: Dual Analog controller only have 2 modes, when it's supposed to have 3 modes. Some inputs seens to be scrambled in the 2nd mode
Description The Dual Analog controller had 3 different modes:

Digital mode (no leds on) ---(press 'analog' once)--> Analog mode (similar to the Analog mode in the Dual Shock Controller, Red LED on) ---(press 'analog' a second time)--> Analog Flightstick mode (emulates the very expansive Playstation Analog joystick, Green LED on) ---(press 'analog' a third time)--> return to Digital mode

But the input emulated in MAME Seems to only have 2 different modes: Digital (which runs ok) and "the second mode" which I'm not sure if it's the 'Analog mode' or the 'Analog Flightstick mode', as the emulated input doesn't have a visual feedback yet.
If you press analog a second time, it's return to digital mode.

Well, when this "second mode" is active, some input changes in this way:
original input -> (changed to original possition of)
[ ] (square) -> L1
/\(triangle) -> R1
R1 -> /\(triangle)
L1 -> R2
R2 -> [ ] (square)

Other inputs (X, O, L2, start, select, digital pad, analog sticks) aren't messed up
Steps To Reproduce Run any Playstation driver which have support for analog control using "analog_joystick"
In the game, test with and without the analog on, and you'll see that when the analçog is on, these buttons just being messed up
Additional Information This issue only affects analog_joystick, not dualshock_pad (dualshock_pad is running very well)

It's don't seems to hard to fix, but it's necessary somebody which knows the Dual Analog controller itself and the way which analogue.cpp/analogue.h works as I'm totally afraid to broke or mess anything trying to fix this issue
Github Commit
Flags
Regression Version
Affected Sets / Systems psa, pse, psj, psu
Attached Files
png file icon PSU_DIGITAL.png (124,479 bytes) Jun 28, 2016, 03:52 Uploaded by Tafoid
PSU_DIGITAL
Tafoid
png file icon PSU_ANALOG1.png (120,140 bytes) Jun 28, 2016, 03:52 Uploaded by Tafoid
PSU_ANALOG1
Tafoid
png file icon PSU_ANALOG2.png (121,047 bytes) Jun 28, 2016, 03:53 Uploaded by Tafoid
PSU_ANALOG2
Tafoid
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.12829
Tafoid
Administrator
Jun 28, 2016, 03:52
I don't have access to an actual playstation controller with the analog pads at the bottom to see how they function, but the default mappings as far as I can see are correct between "digital_pad" and "analog_joystick", even if the Input screen doesn't show them contiguously.

Added snaps of my input screen for both
User avatar
No.12832
B2K24
Senior Tester
Jun 28, 2016, 05:17
I can confirm this reported behavior testing with set sfa in a 2 player game and using a Sony PlayStation Dualshock 2 Analog controller (SCPH-10010) connected to a PSX+N64 USB converter.
User avatar
No.12840
crazyc
Developer
Jun 28, 2016, 22:09
This, as I recall, is not a bug as in the green led mode of the dual analog stick the buttons were reordered to mimic the analog fight stick.
User avatar
No.12841
Shideravan
Tester
Jun 29, 2016, 02:24
edited on: Jun 29, 2016, 03:52
Thanks for remembering me about the "Analog Flightstick" crazyc :)
Its really had an extra mode, called Analog Flightstick mode but well, this was a third mode, not a mode activated in the first analog click
These are the 3 modes which this Dual Analog controller had:

Digital mode (no leds on) ---(press 'analog' once)--> Analog mode (similar to the Analog mode in the Dual Shock Controller, Red LED on) ---(press 'analog' a second time)--> Analog Flightstick mode (emulates the very expansive Playstation Analog joystick, Green LED on) ---(press 'analog' a third time)--> return to Digital mode

But I think that the MAME input driver for the Dual Analog only have 2 modes, a digital mode (running ok) and a second mode (not sure if this is really the analog mode or it's really the flightstick mode). But anyway, if you press a second time, its return to digital mode, which is not the correct behavior...
Maybe the only problem isn't really about "messing the inputs" but to be missing one mode in the controller.
Here some extra info about the Dual Analog controller:

https://en.wikipedia.org/wiki/Dual_Analog_Controller


Also I'll edit my bug report to include this information ;)