I had been reading the Adafruit's guide to add arcade controls to GPIO. But the guide are to the old Raspberry Pi and the guide are only for one joystick with two buttons.
Does any in here knew a newer guide for 40-pins GPIO to add two joysticks with example 4 or 6 buttons each, a coins button and a 1p/2p button? And if possible with a esc-button and a coin acceptor.
check to make sure that your buttons are wired correctly, then make sure that the correct pins are mapped in your retrogame.c file (and that you have run 'make' if you made any changes to retrogame.c)
When use the Ipac-2 my joystick, firebutton 3 and 1p-start works.
But firebutton 1, 2 and 4 and coin doesn't work :-( I test all with connect the Ipac-2 to my PC and use some Ultimarc software. Seems like I have to remap some keys in PiPLAY. Any know where and how I do that?
Yes, the joystick, firebutton 3 and 1p-start works both in the piplay menu and in the emulators.
Firebutton 1, 2 and 4 doesn't work anywhere, only if doubble check it in windows with the Ultimarc software. It's like piplay can't find lcrtrl, lshift and so on. Button 3 works because it's SPACE and not left something.
If you use that winipac tool, then it reprograms your ipac to send different keyboard strokes. After that, you just need to press 'tab' and reconfigure the emulators.