• 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

Setting button config for RetroArch configuration menu

Scheduled Pinned Locked Moved Help and Support
retroarchbutton configretroarch menu
13 Posts 4 Posters 5.3k 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.
  • R
    RedFarmer
    last edited by 7 Oct 2018, 20:20

    I'm sure :(

    Using an external keyboard i can use Enter for Ok and Backspace to go back, but the A & B -assigned buttons does nothing on my bartop, nor any of the other buttons i have.

    M 1 Reply Last reply 7 Oct 2018, 20:41 Reply Quote 0
    • M
      mitu Global Moderator @RedFarmer
      last edited by mitu 10 Jul 2018, 21:48 7 Oct 2018, 20:41

      @redfarmer Strange, as this is the default RA behaviour. Can you add more details about your system - https://retropie.org.uk/forum/topic/3/read-this-first.

      1 Reply Last reply Reply Quote 0
      • P
        Pepper
        last edited by Pepper 10 Aug 2018, 16:36 8 Oct 2018, 15:03

        It seems as though you may have setup the controls in emulation station using your keyboard. Your controls on your bar top more than likely use a keyboard encoder. Maybe try and setup your controls in emulation station using the bar top buttons not the keyboard. Then you can go in and customize the button mapping in RA. The keyboard encoder may not be using "enter" and "space" as the actual A and B button. Hope this makes sense!

        https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration

        1 Reply Last reply Reply Quote 0
        • R
          RedFarmer
          last edited by 10 Oct 2018, 08:21

          Thanks mitu, but i think Pepper might be on to something. I did set the buttons up with the actual arcade buttons and not the keyboard but if i remember correct (not at home right now), the B button represents the keyboard letter z and the A button something else. When going through the controller setup in EmulationStation, none of my 18 arcade buttons represents Enter or Backspace so probably i need to reconfigure the iPac to represent these keyboard strokes?

          P 1 Reply Last reply 10 Oct 2018, 13:42 Reply Quote 0
          • P
            Pepper @RedFarmer
            last edited by Pepper 10 Oct 2018, 15:08 10 Oct 2018, 13:42

            @redfarmer what version of retropie are you currently running? this was an issue I had a while back on my cabinet. I have since updated to the most recent retropie 4.4 no issues. I also use an Ipac 2 with just the default/factory settings. EmulationStation communicates to retro arch as to what the A and B (all of the buttons in fact) are, so if B is z then retro arch should see that as the input. Can you select up and down on your joystick in retro arch?

            1 Reply Last reply Reply Quote 0
            • R
              RedFarmer
              last edited by RedFarmer 10 Oct 2018, 21:01 10 Oct 2018, 19:58

              @Pepper
              Retropie is version 4.4.2

              Now, when i'm back home i see that z was another button :) My B is Ctrl and A is Alt.

              So, in short, A & B is what RetroArch interprets as Ok and Back no matter what key they infact are (as mitu also wrote) because of the EmulationStation setup? I just get the feeling RetroArch just thinks i'm pressing Ctrl and Alt and it wants Enter and Backspace :) Up and down on the joystick works fine.

              If i were to reprogram the iPac2 to represents B as Enter and A as Backspace, would that maybe solve my problem or would it mess up the system or game specific setups i've done so far?

              Thanks for you help!

              M C 2 Replies Last reply 10 Oct 2018, 20:04 Reply Quote 0
              • M
                mitu Global Moderator @RedFarmer
                last edited by 10 Oct 2018, 20:04

                @redfarmer said in Setting button config for RetroArch configuration menu:

                So, in short, A & B is what RetroArch interprets as Ok and Back no matter what key they infact are as mitu also wrote (because of the EmulationStation setup)?

                Probably yes, since Emulationstation takes what you configured and creates an auto-configuration file for RetroArch (see https://retropie.org.uk/docs/RetroArch-Configuration/#autoconfigurations).

                If i were to reprogram the iPac2 to represents B as Enter and A as Backspace, would that maybe solve my problem or would it mess up the system or game specific setups i've done so far?

                It will probably change the mapping you've already done, but I think it would make RA behave as you want with regard to menu navigation.

                1 Reply Last reply Reply Quote 0
                • C
                  Cybrasty @RedFarmer
                  last edited by Cybrasty 10 Nov 2018, 00:06 10 Oct 2018, 23:05

                  If you don't plan on changing the keyboard layout with the GUI there is a way you can have separate bindings for emulation station and default controls for emulation (so one setup to choose games, another to play them).

                  You can change how keyboard behaves in emulation station by modifying /home/pi/.emulationstation/es_input.cfg Use those SDL decimal values to point to keys you want.

                  Changing this keyboard setup will not change how your games behave. From my understanding, the es_input.cfg affects retropie's config.cfg only if you configure input inside emulationstation GUI.

                  1 Reply Last reply Reply Quote 0
                  • R
                    RedFarmer
                    last edited by 27 Oct 2018, 16:49

                    Thanks guys, but i've finally found the solution!

                    In RetroArch, i went to Main menu/Settings/Input/ Unified Menu Controls and put the option to On. It now respects the settings configured in EmulationStation and i can browse the menues without the need of an external keyboard.

                    M 1 Reply Last reply 27 Oct 2018, 17:14 Reply Quote 0
                    • M
                      mitu Global Moderator @RedFarmer
                      last edited by 27 Oct 2018, 17:14

                      @RedFarmer That's strange, because this option is On by default in a RetroPie installation. The default retroarch.cfg has this set up as

                      # If disabled, we use separate controls for menu operation.
                      menu_unified_controls = "true"
                      
                      1 Reply Last reply Reply Quote 0
                      • R
                        RedFarmer
                        last edited by 27 Oct 2018, 18:02

                        I may have broken this myself in the beginning when i was messing around alot with RetroArch and the controllers.

                        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.

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