paulbnl wrote: ↑Wed Feb 17, 2021 1:06 pm
I am guessing you are trying to map Start 2P to the second controller while you are mapping the first controller which is not possible. You only need to map one controller because they have the same VID/PID. For some reason there is a separate button for Start 1P and Start 2P. IMO this is a mistake in the core. There should be just one Start button and if you press Start on the second controller then it should treat it as Start 2P.
Your controllers seem to working properly since you said you get the OSD overlay for both controllers. Try to skip the Start 1P button and map the Start 2P only.
Yes, further reading and testing makes me believe that my U360s are working "as designed" with MiSTer:
- On an arcade core where P1 and P2 take turns playing, either/both joysticks and their respective buttons can be used for either player.
- On a core where simultaneous 2-player play is supported (e.g. Joust), each player can control their player with their joystick.
It appears that MiSTer's joystick/controller model is biased towards console controllers, vs. arcade setups. This presents some pretty significant challenges to anyone wanting to create an authentic arcade cabinet experience. There is no apparent way to map buttons/controls from different USB devices across player's functions, P1, P2, P3, etc. Each USB device must be dedicated for P1, P2, etc. I have one U360 joystick + 4 buttons wired to it for P1 Start, 3 action buttons, and the joystick, then an identical setup for P2 (P2 Start, etc.). But with MiSTer, I'm unable to map the P2 start button, for example, to the second U360, instead I have to dedicate one of the P1 buttons for that.
I did try configuring the no_merge_vid/pid bit observed no differences with that configured.
I also tried the jamma_vid/pid configuration, but with that configured all input would cease to function after the first use of one of the U360s, including the keyboard.
If MiSTer was flexible enough to allow mapping of any connected USB device's controls to any player's function (e.g button1 from J1 = P1 Start, button1 from J2 = P2 Start, directional movement from J1 to move P1, directional movement from J2 to fire for P1, etc.), that would make arcade setups a lot more achievable.
For the specific Robotron core example, I guess the core could be modified to allow the P1 and P2 joysticks to be used for player 1 (and 2, taking turns) with P1 for movement, P2 for shooting. It already supports a special "shoot with movement" mode, so adding one more would be okay I would think. I'll open a ticket for that core's Github for this enhancement.
I'm really new to MiSTer, so if anyone has additional / corrective information on this subject please do share.