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

    Start and Select Buttons help for first retropie attempt with retrogame

    Scheduled Pinned Locked Moved Help and Support
    button gpio hel
    15 Posts 2 Posters 1.2k 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.
    • B
      buntyfarmer
      last edited by

      Aha no, I think i had already configured the controls on the first boot with a keyboard.

      I entered rm /home/pi/.emulationstation/es_input.cfg and it then let me reconfigure the input. Amazing thanks!

      Can't seem to get the hotkeys to work but that's another challenge for another day!

      1 Reply Last reply Reply Quote 0
      • B
        buntyfarmer
        last edited by

        @mitu So after configuring the input in Emulation Station the start and select buttons work in emulation station (e.g. bring up the menu and screensaver) however do not work in actual games (e.g. to pause and the hot keys do not work).

        I have looked for the retroarch.cfg file and it is not there....

        I looked where you suggested and also looked for it here: /opt/retropie/configs/all/retroarch.cfg

        I also tried jstest /dev/input/js0 (and js1, js2 etc) but it said there was no such file or location.

        Is there anything else I can try?

        Thanks in advance

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

          @buntyfarmer said in Start and Select Buttons help for first retropie attempt with retrogame:

          I looked where you suggested and also looked for it here: /opt/retropie/configs/all/retroarch.cfg

          It should be here - can you try and post the output of the file on pastebin.com ?

          I also tried jstest /dev/input/js0 (and js1, js2 etc) but it said there was no such file or location.

          That's because the RetroGame utility doesn't 'emulate' a gamepad, but a keyboard. The /dev/input/jsX devices are created only for joystick/gamepad devices.

          1 Reply Last reply Reply Quote 0
          • B
            buntyfarmer
            last edited by

            Apologies, have got the file and opened it, only seemed to open in if i changed into the directory /opt/retropie/configs/all and then opened it.

            For
            input_player_1_start = "q"
            input_player_1_select = "w"

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

              @buntyfarmer Please post the whole file content on pastebin.com.
              You can also get the file via file shares (from your PC/mac/etc.), at \\retropie\configs\all\retroarch, if you're just using SSH/the console to look it and cannot get the whole file's content.

              1 Reply Last reply Reply Quote 0
              • B
                buntyfarmer
                last edited by

                I can see the whole file when open on the raspberry pi, but cannot upload it from there, just looking at how to view and upload the .cfg file via plugging the SD card into my mac.

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

                  Run from the command line

                  cat /opt/retropie/configs/all/retroarch.cfg | nc termbin.com 9999
                  

                  and post the URL that appears. You need to have internet working on the PI for this to work.

                  1 Reply Last reply Reply Quote 0
                  • B
                    buntyfarmer
                    last edited by

                    thanks
                    https://termbin.com/ql0i

                    Just install extFS in case that doesn't work!

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

                      OK, so your keys are defined like this:

                      input_player1_a = "a"
                      input_player1_b = "b"
                      input_player1_y = "y"
                      input_player1_x = "x"
                      input_player1_start = "q"
                      input_player1_select = "w"
                      input_player1_l = "num1"
                      input_player1_r = "num2"
                      input_player1_left = "left"
                      input_player1_right = "right"
                      input_player1_up = "up"
                      input_player1_down = "down"
                      input_player1_l2 = "num3"
                      input_player1_r2 = "num4"
                      input_player1_l3 = "num5"
                      input_player1_r3 = "num6"
                      

                      while your hotkey is set to R (which is also the shortcut for rewind).

                      input_enable_hotkey = "r"
                      

                      Simply change your hotkey to w (the same as your Select key):

                      input_enable_hotkey = "w"
                      
                      1 Reply Last reply Reply Quote 0
                      • B
                        buntyfarmer
                        last edited by

                        Thanks for the quick reply.

                        So just to clarify, this is for the arcade buttons that are wired into the GPIO pins?

                        Does this explain why the start and select buttons that i allocated in the controller configuration and that work in emulation station menu do not work in a game?

                        1 Reply Last reply Reply Quote 0
                        • B
                          buntyfarmer
                          last edited by

                          Got it sorted! Phew.

                          Had to go back into the retrogame.cfg file and tell it that pin 16 was 'w' and pin 26 was 'q'. I had them set as space and enter and even though i had done configuration in emulation station, they stayed as start and enter in the actual game.....

                          1 Reply Last reply Reply Quote 0
                          • 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.