OS Software




GPIO Settings for Recalbox

Started by justkevo, Nov 12, 2025, 06:39 PM

Previous topic - Next topic

justkevo

*
Newbie
Posts: 3
Logged
Arpicade is nice, but I'd like to get things working on Recalbox.
My arcade cabinet has Coin, Service button, 1 joystick, 3 action buttons, 1 player select button, 2 player select button

I can get a few of the buttons responding in evtest:
Up,Left,Down, Action Button 1, and the 2 player select button, coin, & service button are recognized  but the others are not recognized.

Current config is:
controllers.gpio.enabled=1
controllers.gpio.args=map=1 gpio=1,2,3,4,5,6,7,8,9,10,12,13

Is this a futile effort or is there a possible work around?

dee2eR

Administrator
*****
Sr. Member
Posts: 178
Logged
it seems like you're mostly there, possibly cross check the pins you need using the GPIO wiring guide from the Documents and FAQs section on the right of this site.  I'm not sure what config you're editing but the GPIO args look like some could be wrong for the inputs you want (assuming you're using a RaspberryJAMMA).

Otherwise, you may have some luck if you copy the RaspberryJAMMA GPIO device tree overlay from ARpiCADE_5 v2 and try using it.  Not sure which Pi you're on but the RaspberryJAMMA_2P overlay def works on Pi4 and Pi5 and should be the one you want, I've never tried it on an earlier Pi (older ARpiCADE versions used mk_arcade_joystick) or any other software except ARpiCADE_5.

In the past (5-6 years ago now) there was a user modified versions of Recalbox released for RaspberryJAMMA, so it should definately be possible.