Mapping hotkeys in standalone mupen64plus
-
Hey!
I configured the keyboard as a controller so I can trigger hotkeys in retroarch emulators. E.g. rshift+arrow-left and rshift+arrow-right to cycle through save slots and rshift+return to quit emulators.
I'd like to configure mupen64plus in a similiar way, because it does not work with these hotkeys - I can't even exit the emulator using Select+Start (rshift+return), I Need to use the ESC key.
I found the config file with core events, but there are SDL key commands I can't understand.
Does somebody know how to remap saving/loading and quitting?
I'm on Retropie 4.1, updated setup script and the recent binary version of mupen64plus.Pi model or other hardware: 3B
Power supply used: 3a
RetroPie version used: 4.1
Built from: Pre made SD Image on RetroPie website 5th November 2016
USB devices connected: Keyboard, HuiJia GamePad (N64 usb adapter)
Controller used: N64
Guide used: Official Installation GuideThanks!
-
Hi again!
Can anybody point me in the right direction how to save/load via keyboard shortcuts? That's the most important part to me. -
I wasn't able to map the hotkeys on the keyboard which is configured as a controller, but since I will use pyAutoGUI and scripting for GPIO inputs, I that's not a big deal.
The keycodes found in mupen64plus.cfg relate to ascii characters, and so I remapped the functions I plan to access later via GPIO to keys I won't need.
Here is simple overview I used to figure out key-values: Ascii Table
You have to look for the decimal values.
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.