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 Buttons A and B in RetroArch RGUI only

    Scheduled Pinned Locked Moved Help and Support
    rguilibretrobutton mapping
    47 Posts 4 Posters 21.1k 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.
    • BuZzB
      BuZz administrators
      last edited by

      Because if the show start screen is enabled, and save on exit is enabled, it disables the screen, and saves config, so next time it won't show.

      Someone made this decision at some point. The thing that broke was the function for saving config only saved the config if save on config was enabled. But this meant you couldn't manually save the config either from the GUI, so the restriction in the function was removed - however this caused this left over call to call it if the start screen is enabled.

      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

      vbsV 1 Reply Last reply Reply Quote 0
      • vbsV
        vbs @BuZz
        last edited by

        @BuZz
        Ahh ok thank you, understand.

        Sorry for being annoying :) but another thought: when you install from binary on RPi you get version 1.3.6, right? When you install from source you get current master which basically is a surprise package. Why not also use 1.3.6 when installing from source so everyone gets the same, well defined, state?

        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators
          last edited by BuZz

          Because then people would complain they can't install the bleeding edge software.

          I have some plans for improvements for this, but the x86 (source only) support is pretty new. Previously the idea was that you could get stable binaries, but also be able to install bleeding edge from source.

          Most stuff doesn't break too much anyway, but RetroArch has been going through a lot of development.

          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
          • vbsV
            vbs @dankcushions
            last edited by vbs

            @dankcushions said in Swap Buttons A and B in RetroArch RGUI only:

            @vbs can be adjusted in RGUI or retroarch.cfg. eg:

            # Menu buttons.
            # menu_ok_btn          =
            # menu_cancel_btn      =
            

            you'll have to ucomment them first if they're commented like the above. i've never set them. guess it's set to the numeric js button. probably easier to do through the RGUI.

            Sorry me again with this issue. I have this in my config for a while:

            menu_ok_btn = "0"
            menu_cancel_btn = "8"
            

            and it worked well so far. I didn't touch Retroarch in a while but now it does not seem to work anymore. My A and B buttons are again "wrong". I also tried several other IDs instead of 0 and 8 but no difference at all.
            Did something change there or any other ideas what the reason could be?

            I also noticed that closing the menu using "Select + X" does not work anymore (which used to work in the past). I can open the menu with it but I cannot use it to close it again. I always have to choose "Resume" from the quick menu.

            EDIT:
            Sorry I think I did not mention the environment: I am using latest Retropie on an Intel i5 NUC on Lubuntu 16.04 with Xbox 360 Wireless controllers.

            BuZzB 1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @vbs
              last edited by

              @vbs the hotkey to exit retroarch is a known issue - there is an upstream ticket and at least 2 topics on it - https://retropie.org.uk/forum/topic/5161/unable-to-exit-retroarch-menu / https://github.com/libretro/RetroArch/issues/3899#issuecomment-259129721

              The other issue should be reported to retroarch.

              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

              vbsV 1 Reply Last reply Reply Quote 0
              • vbsV
                vbs @BuZz
                last edited by

                @BuZz
                Ok, thanks I reported that issue with the menu button mapping.
                https://github.com/libretro/RetroArch/issues/4111

                I really feel a bit unsure if the error is maybe just on my side. Can someone confirm that it is a general bug in current RetroArch?

                meleuM 2 Replies Last reply Reply Quote 0
                • meleuM
                  meleu @vbs
                  last edited by meleu

                  @vbs I noticed it (A and B reversed) on my Android (using a RetroArch buit on 2016-11-27). I'll update from source on RetroPie and check it.

                  UPDATE: I've just noticed that someone answered your issue with some news: https://github.com/libretro/RetroArch/issues/4111#issuecomment-264021380

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  1 Reply Last reply Reply Quote 0
                  • meleuM
                    meleu @vbs
                    last edited by meleu

                    @vbs I think you're going to see this on your issue, but let me put it here for future reference:

                    The menu_ok_ btn and menu_cancel_btn are now deprecated on RetroArch. The Retropad B button is "Cancel" and the Retropad A button is the "OK". The only option you have is to swap them setting menu_swap_ok_cancel_buttons = "true".

                    edit: corrected the option name.

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    vbsV 1 Reply Last reply Reply Quote 1
                    • vbsV
                      vbs @meleu
                      last edited by

                      @meleu
                      Thanks alot mate!
                      But I think the option is named menu_swap_ok_cancel_buttons(rather than menu_swap_ok_cancel). Just if someone else stumbles upon this...

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

                        @vbs you're right. And it was already fixed. :-)
                        Cheers!

                        • Useful topics
                        • joystick-selection tool
                        • rpie-art tool
                        • achievements I made
                        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.