Setting the ESC Key as the Exit Emulation Button
-
I'm having an issue exiting Atari2600 games. I Googled and I've seen a lot of answers on this but none of them work for me. It makes me wonder if I messed something up with my config. Is it possible to globally set the ESC key on my keyboard as the key that allows me to exit games?
-
@falcon00 The keyboard mapping are handled by the emulator you're running. If you're using a Libretro emulator, I think RetroPie keeps the default RetroArch setting for ESC as emulator exit.
Please give more details about your setup, as requested in https://retropie.org.uk/forum/topic/3/read-this-first. -
I for sure read the readme before I started posting but I didn't think this was a super hard problem that required deep troubleshooting.
I'm running a Raspberry Pie 3 with Retropie 4.4. Do you need more information than that? I've only been running for about a week now and I'm not totally clear how everything works and operates. So far it appears like there are layers.
- Linux at the bottom.
- Next would be Retropie software
- Emulation station runs in Retropie correct?
- Then emulators run on top of that.
Do I have that software stack correct? Where do I check my keyboard mapping because ESC doesn't work for any emulator I'm using. Atari2600 (ls-stella) is the only place where I'm having a problem. All other emulators (NES, SNES, Sega Genesis, Gameboy) I'm able to exit using select + start.
-
Got it. You have to go to the individual emulator retroarch.cfg file. This is what mine looks like now for atari2600 and it works.
# Settings made here will only override settings in the global retroarch.cfg if placed above the includes. input_remapping_directory = "/opt/retropie/configs/atari2600/" input_enable_hotkey = "escape" input_exit_emulator = "escape" #include "/opt/retropie/configs/all/retroarch.cfg"
References:
https://retropie.org.uk/forum/topic/3665/exit-every-emulator-with-escape-key
https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration
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.