You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have all three of those types of controllers (a DS4, a Logitech F310 XInput controller, and a Hori Real Arcade Pro. 3), so I can implement those three. I also suggest other XInput and DS3/DS4 arcade sticks, like the Mad Catz ones. From looking at a Mad Catz stick's layout, it appears the correct arcade-identical layout wouldn't match the layout appropriate for real XInput gamepads, so XInput arcade sticks will have to be handled specially; the same is true of my HRAP3 vs. a DS3 (HRAP3 is a PS3 controller). So I guess we should first check if an arcade controller is connected from a preset list, then default to regular gamepad layout otherwise.
Part of implementing this correctly is changing to separate SDL2 "joystick" input and "controller" input. "Joystick" is for any joystick device with numbered axes and buttons, "controller" is for XInput style controllers with the ability to use the named A/B/X/Y etc. buttons, or non-XInput controllers that SDL2 has built-in mappings to XInput controls for.
The text was updated successfully, but these errors were encountered: