I picked up a pair of industrial foot pedals I'd like to get working for games like Time Crisis.
To be clear, what electronic components do they use -- microswitches, potentiometers, or optos?
I'm not sure how to go about wiring them up and interfacing them? I've got an extra IPAC-2 USB controller that I can use (seems like a waste for just two buttons, but I've already got it so whatever).
Wiring is easy.
- Wire pedal microswitches the same way as microswitch arcade buttons.
- Wire potentiometers as described
here in the wiki. (You can't do this with an IPac.)
- Wire optos with 5v, ground, Data A, and Data B. (You can do this with a 2015 or newer IPac.)
Do you have an Arduino like a Pro Micro lying around?
- With the right choice of firmware, it will work with any of the 3 types of pedal components mentioned above.
Is there any particular keyboard keys I should map them too? Or just anything, and then just map them in game to "pedal" ?
Assuming that you have microswitch pedals, use keyboard keys that aren't used as MAME defaults. (B, E, H, M, N, etc.)
Feels too simple...
It's not rocket surgery.
Scott