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

    how to change select+start hotkey?

    Scheduled Pinned Locked Moved Help and Support
    exit hotkeyhotkeyscontroller
    5 Posts 4 Posters 9.0k 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.
    • N
      n0tepad
      last edited by

      sometimes (all the time) when i play an arcade game, i accidentally hit select+start and i lose my game. how do i change this button combination so that i can do for example select+r2 to exit instead of select+start to exit?

      i am using a hori pokken controller. the config file located at /opt/retropie/configs/all/retroarch/autoconfig/HORI CO.,LTD. POKKEN CONTROLLER.cfg

      looks like;
      input_device = "HORI CO.,LTD. POKKEN CONTROLLER"
      input_driver = "udev"
      input_l_btn = "4"
      input_start_btn = "9"
      input_up_btn = "h0up"
      input_a_btn = "2"
      input_b_btn = "1"
      input_down_btn = "h0down"
      input_r_btn = "5"
      input_r2_btn = "7"
      input_right_btn = "h0right"
      input_x_btn = "3"
      input_select_btn = "8"
      input_y_btn = "0"
      input_left_btn = "h0left"
      input_l2_btn = "6"

      i have a pi 3 and i used win32diskimager to write retropie-4.3-rpi2_rpi3.img to my micro sd card

      be stoked if somebody knows how to change this so i can stop accidentally dropping my games!

      meleuM 1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @n0tepad
        last edited by

        @n0tepad add two lines to that file with the following content:

        input_enable_hotkey_btn = "ButtonNumberYouWantToSetAsHotkey"
        input_exit_emulator_btn = "ButtonNumberYouWantToSetAsExitEmulator"
        

        The buttons and the respective numbers you can see in the file itself.

        I hope I was clear. ;-)

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        D N 2 Replies Last reply Reply Quote 1
        • D
          doctorwolf @meleu
          last edited by

          @meleu said in how to change select+start hotkey?:

          @n0tepad add two lines to that file with the following content:

          input_enable_hotkey_btn = "ButtonNumberYouWantToSetAsHotkey"
          input_exit_emulator_btn = "ButtonNumberYouWantToSetAsExitEmulator"
          

          The buttons and the respective numbers you can see in the file itself.

          I hope I was clear. ;-)

          How would you enter that second line for exit if you wanted to use a combination of buttons (for instance, R1 + Start + L1)?

          markyh444M 1 Reply Last reply Reply Quote 0
          • markyh444M
            markyh444 @doctorwolf
            last edited by markyh444

            @doctorwolf the hotkeys enable button is the first you press to enable all the hotkeys. It just so happens that you are defining the exit emulator button as well in this instance. There are plenty of other hotkeys (such as save states etc) that also require you to press the enable hotkeys button in order to use, it's just that you aren't changing them in this setup.

            You can only have two buttons in combo as well. Sorry just re-read your post. So like L1 and select. Or L2 and L1. Much like the select and start setup as the default is.

            Retropie in a NES - Pi 3 with Mausberry circuit shutdown switch wired to buttons and 8bitdo NesPro30 controller
            Retropie in a Saturn Controller - Pi Zero, GPIO controls using DB9 driver
            Retropie in a PSX - Pi3
            https://markyh444.wordpress.com

            1 Reply Last reply Reply Quote 0
            • N
              n0tepad @meleu
              last edited by

              @meleu thanks meleu! now my cfg look like this;

              input_device = "HORI CO.,LTD. POKKEN CONTROLLER"
              input_driver = "udev"
              input_l_btn = "4"
              input_load_state_btn = "5"
              input_start_btn = "9"
              input_exit_emulator_btn = "4"
              input_up_btn = "h0up"
              input_a_btn = "2"
              input_b_btn = "1"
              input_reset_btn = "1"
              input_enable_hotkey_btn = "8"
              input_down_btn = "h0down"
              input_r_btn = "5"
              input_save_state_btn = "9"
              input_r2_btn = "7"
              input_right_btn = "h0right"
              input_state_slot_increase_btn = "h0right"
              input_x_btn = "3"
              input_menu_toggle_btn = "3"
              input_select_btn = "8"
              input_y_btn = "0"
              input_left_btn = "h0left"
              input_state_slot_decrease_btn = "h0left"
              input_l2_btn = "6"

              which causes select+start to save state
              select+right shoulder loads state
              select+left shoulder exits

              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.