Retroarch hotkey "BTN_1 or BTN_2"
PSclassic 1.5a PSU
I can't find this anywhere else. I'm hoping there is an answer anyways.
I'd like to configure retroarch's quit hotkey; to "BTN_1 or BTN_2".
Multiple assignments for the same hotkey, so that I could press either button with the same result.
Sorry I don't have a Pi anymore, I gifted it, but I hope you can help me anyways.
Looks to not be possible, though I can map a "btn", "mbtn" and "key". In this case I need to bind two keys.
Does anyone know where to put a script that will execute on a key press?
or how to exit cleanly?
killp retroarch 5???
@Efriim Here's a better idea - use the Network command interface in RetroArch (see https://docs.libretro.com/development/retroarch/network-control-interface/#enabling) and configure the
triggerhappydaemon to listen for certain key/button presses to send the
QUITcommand to RetroArch.
triggerhappyis installed and started by default on Raspbian/RetroPie). Some configuration is needed and you'd need to install
netcator any of the similar packages, but it's quite simple to do.
I don't have triggerhappy on a Playstation Classic, but it is linux and has a systemd.
There is with "Network Command interface" also "Command interface" support but I don't know how to use this, I guess maybe echo a command at the process?