• 9 years ago
This shows how to set hotkeys in RetroArch, and how to map joypad buttons to make them work. A useful example is to use the joypad to return to the EmulationStation menu, or to save and load games without needing a keyboard.

Check this out for new info:
http://blog.petrockblock.com/forums/topic/retropie-auto-adds-hotkeys-now-2-6-0/

This is using RetroPie but should work with any RetroArch installation.

RetroPie hotkey script:
https://github.com/petrockblog/RetroPie-Setup/blob/master/scriptmodules/supplementary/hotkey.sh

Main retroarch.cfg file:
https://github.com/libretro/RetroArch/blob/master/retroarch.cfg

Make sure you keep a keyboard key mapped to enable hotkeys as well as a joypad button version:
http://blog.petrockblock.com/forums/topic/hotkey-button-stuck-in-retroarch/#post-83510

NOTE: This guide is for retroarch only, for MAME you can see my video here on how to map joypad buttons to quit the game etc..
http://www.dailymotion.com/video/x2huc0p_mame-raspberry-pi-configuring-usb-controls_videogames