Exclusive buttons for hotkeys in Raspberry case?
-
I have an arcade cabinet, with 2 players layout and no hotkeys combination but exclusive buttons for exit, pause etc. Those buttons are next to the coin door and a everything is connected with a pcb that transform button pushes in keypad signnals.
I want to do the same with the Raspberry with retropie and crt for console games that I have, putting buttons in the case for exit, save states etc and different controllers depending on the system without hotkeys (retroflag snes pad, retrobit genesis six buttons pad, etc). I see It and honestly, dont know how It is posible:
Since I thought you can only save states or exit using the first controller, but It seems theres like a "control 0" mapping in the video and, no mattter what controller you use, theres always the possibility to push buttons in the case for exit etc.
How can It be possible? Maybe using a keyboard in combination with the controllers?
-
@Carcayu said in Exclusive buttons for hotkeys in Raspberry case?:
How can It be possible? Maybe using a keyboard in combination with the controllers?
Could be mapped to a keyboard and configured the KB input in conjunction with P1, but most likely - if the buttons are connected via GPIO - it maps button presses to a script that stops the emulator. Mapping can be easily done via a python script or a ready made solution like GPioneer.
You can also use GPioneer in conjunction with RetroArch's network control interface (see here), which enables you to send commands to a running RetroArch instance (Pause/Save/Exit, etc.). Of course, this only works when using RetroArch, for other emulators it might be possible to simulate a keyboard press to send a certain command.
-
mmm, it seems a little more complicated that I though. I will check all your info. Thanks a lot mitu!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.