Can't make same inputs between USB and GPIO controller
I recently setup my 2P arcade cab with a PI4 and GPIONext. In most games/emulators everything works fine.
My issue is with fighting games like Marvel vs Capcom where you need to make a joystick input + pressing 2 buttons simultaneously. The in game combo isn't triggered while playing with my GPIO controller. But the same inputs work flawlessly with an USB arcade controller.
As a counter example, a simple shoryuken works on both controllers (joystick input + 1 button).
Now I'm not sure were to look at, is it an issue from GPIONext ? (haven't found anything on their github about this) Or is it a configuration issue in the Retroarch controller setting ? (tried to modify controller driver there, but most times it breaks the GPIO controller)
Hopping someone can shed some light on this.
Most likely a GPIONext issue. You can easily test if all your inputs are processed with
jstest- just run
jstest /dev/input/js0with only the GPIO controller connected and press the neessary buttons/joysticks for the combo(s).
Thank you for your quick reply !
I already did this test, but I didn't see anything unexpected though.
Finally found the solution:
The default configuration of GPIONext is not optimal for those inputs.
What fixed it:
gpionext set combo_delay 0 # was 50
Hope it helps someone else !