RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Setting the ESC Key as the Exit Emulation Button

    Scheduled Pinned Locked Moved Help and Support
    keyboardexitatari2600configconfiguration
    4 Posts 2 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      falcon00
      last edited by

      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?

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @falcon00
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • F
          falcon00
          last edited by

          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.

          1. Linux at the bottom.
          2. Next would be Retropie software
          3. Emulation station runs in Retropie correct?
          4. 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.

          1 Reply Last reply Reply Quote 0
          • F
            falcon00
            last edited by

            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

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            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.