• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Quit Retroarch with single key

Scheduled Pinned Locked Moved Help and Support
exit button
6 Posts 2 Posters 575 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.
  • T
    t_mitch
    last edited by 7 Mar 2019, 20:21

    OK, I'm feeling really dense here. I'd like to be able to quit games with a single key (or button) press rather having to press select (my hotkey) and s.

    It'd be great if I could pick which key that is (something other than s).

    I've tried editing every copy of retroarch.cfg I could find, setting input_exit_emulator = i (or escape or whatever). Nothing I do seems to have any affect at all.

    I'm running mame4all via the ls-mame2000 emulator.

    M 1 Reply Last reply 7 Mar 2019, 20:33 Reply Quote 0
    • M
      mitu Global Moderator @t_mitch
      last edited by 7 Mar 2019, 20:33

      @t_mitch Try disabling the hotkey in your configuration, so the command keys are not conditioned by pressing the hotkey.

      input_enable_hotkey_btn = nul
      
      T 1 Reply Last reply 7 Mar 2019, 21:22 Reply Quote 0
      • T
        t_mitch @mitu
        last edited by 7 Mar 2019, 21:22

        @mitu said in Quit Retroarch with single key:

        @t_mitch Try disabling the hotkey in your configuration, so the command keys are not conditioned by pressing the hotkey.

        input_enable_hotkey_btn = nul
        

        Any suggestion for which of the retroarch.cfg files I should make that edit in? None of the ones I tried changed the exit emulator key.

        M 1 Reply Last reply 7 Mar 2019, 21:25 Reply Quote 0
        • M
          mitu Global Moderator @t_mitch
          last edited by 7 Mar 2019, 21:25

          @t_mitch Try the configuration file corresponding to your controller, from /opt/retropie/configs/all/retroarch-joypads, if you're not using a controller, then check the /opt/retropie/configs/all/retroarch.cfg file.

          T 1 Reply Last reply 7 Mar 2019, 22:11 Reply Quote 0
          • T
            t_mitch @mitu
            last edited by 7 Mar 2019, 22:11

            @mitu said in Quit Retroarch with single key:

            @t_mitch Try the configuration file corresponding to your controller, from /opt/retropie/configs/all/retroarch-joypads, if you're not using a controller, then check the /opt/retropie/configs/all/retroarch.cfg file.

            I'm using a keyboard and didn't see anything in /opt/retropie/configs/all/retroarch-joypads

            So I tried editing /opt/retropie/configs/all/retroarch.cfg again and it seems to have no effect on the hotkey or the exit emulator button setting.

            I've also tried editing retroarch.cfg in /opt/retropie/configs/mame-mame4all/ and /opt/retropie/configs/mame-libretro/

            Nothing I do seems to have any effect.

            1 Reply Last reply Reply Quote 0
            • T
              t_mitch
              last edited by 9 Mar 2019, 01:59

              I started to think maybe I'd accidentally changed some obscure Retroarch setting without realizing what effect it was going to have.

              So I decided to go back to square one. I reinstalled my disk image and started over. This time when I went in and edited /op/retropie/configs/mame-mame4all/retroarch.cfg it had the desired effect.

              The only weird thing I ran into was that key b was set to "reset input" in retroarch when you used the hotkey. With hotkeys disabled that meant I couldn't press my b button. I could remap that input in the games, but I decided to just set "reset input" to nul.

              I'm not sure what reset input does, but if I need it I can assign it another key.

              1 Reply Last reply Reply Quote 0
              5 out of 6
              • First post
                5/6
                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.

                This community forum collects and processes your personal information.
                consent.not_received