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

    Swap A/B button in EmulationStation

    Scheduled Pinned Locked Moved Help and Support
    swap abmenu config
    12 Posts 9 Posters 26.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.
    • M
      Marcone698
      last edited by

      Hi all,

      sorry for a new post asking help but I'm really going crazy :)

      I have a Raspberry Pi Zero
      Retropie 4.1
      Latest Vice emulator
      Sandisk Ultra Imaging Micro SDHC I 32GB Class (10)

      First installation of retropie 4-5 days ago i have browsed all config menu to try all setting, after checked lot of setting/configs i have decide to fomatt sd and prepared with a clead img of retropie.
      Browsing in all menu, i don't remember where i found an option like "Swap A and B button (must reconfigure joypad)" or something like that, now after 4 days of setup of all retropie (and it works almost everything) i can't find this option to swap a and b button (referred to as A=yes/confirm - and B=no/back).
      Can someone help me?
      Thanks a lot
      Marco

      mediamogulM 1 Reply Last reply Reply Quote 0
      • mediamogulM
        mediamogul Global Moderator @Marcone698
        last edited by

        @Marcone698

        You're looking for es_swap_a_b = 1 found in /opt/retropie/configs/all/autoconf.cfg.

        RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

        1 Reply Last reply Reply Quote 1
        • M
          Marcone698
          last edited by

          Hi medlamogul,

          that's something and can help me however i would like find the menu option to do the same, if not i will edit autoconf.cgf as you suggest.

          D 1 Reply Last reply Reply Quote 0
          • D
            dudleydes @Marcone698
            last edited by dudleydes

            In the Retropie setup script, you can use the following:

            Manage packages > Manage core packages > emulationstation > Configurations/Options > Swap A/B Buttons in ES

            M 2 Replies Last reply Reply Quote 6
            • M
              Marcone698 @dudleydes
              last edited by

              @dudleydes Yes!!! It's this one, a little hidden in Retropie Setup, now i'm at work but this evening i will try, thanks!

              1 Reply Last reply Reply Quote 0
              • M
                Marcone698 @dudleydes
                last edited by

                @dudleydes I confirm that it worked, thanks again!

                1 Reply Last reply Reply Quote 0
                • FlightRiskF
                  FlightRisk
                  last edited by FlightRisk

                  Does this effect the buttons on the scripts? In ES and RA, the A button is select and B is back, but when I go into retropie-config or any of those text menus, I have to move to the cancel or select buttons and hit B for it to choose that option. I want A to be select across the board. I am using an original XBox wired USB controller.

                  C 1 Reply Last reply Reply Quote 0
                  • C
                    ChuckyP @FlightRisk
                    last edited by ChuckyP

                    @flightrisk There's a separate setting inside the Retroarch GUI, under Settings/Input "Menu Swap Ok & Cancel Buttons".

                    EDIT: Sorry I now see you are referring to the RetroPie setup menu. This happens when I configure my XBOX wireless controller. so when I configure my controller in EmulationStation I use the actual A & B Buttons rather than the Official method of following the Nintendo button map which has the A&B, X&Y switched, Then I go in and manually configure the RetroArch configs.

                    This allows me to have the proper X & Y Buttons for favorites and Random game inside Emulation Station and the proper buttons configured for the RetroPie Setup menu.

                    1 Reply Last reply Reply Quote 2
                    • A
                      AEtherScythe
                      last edited by

                      Hey, All,

                      This post was very helpful, but no matter what I try, the RetroPie main menus are all okay w.r.t. A/B buttons but in most games the A/B buttons are still reversed. So how do I have the best of both -- RetroPie menus with A/B like I want and also the games following same orientation?

                      BuZzB sirhenrythe5thS rezyhR 3 Replies Last reply Reply Quote 0
                      • BuZzB
                        BuZz administrators @AEtherScythe
                        last edited by BuZz

                        @AEtherScythe configure A and B reversed in emulationstation in the input configuration (but switch the a/b es setting back first).

                        Best to start a new topic than adding to a 2 year old one in general.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        1 Reply Last reply Reply Quote 0
                        • sirhenrythe5thS
                          sirhenrythe5th @AEtherScythe
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • Thorr69T Thorr69 referenced this topic on
                          • rezyhR
                            rezyh @AEtherScythe
                            last edited by

                            @AEtherScythe after you change the configuration to swap buttons, I believe you also have to remap the controller in emulation station for it to work properly. Hope that helps.

                            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.