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

    RGui Control Conflict

    Scheduled Pinned Locked Moved Help and Support
    11 Posts 3 Posters 2.4k 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.
    • C
      Concat
      last edited by

      Just a thought that might point you in the right direction...

      In Retroarch settings, under input, note that each input has a button and a key assigned to it. If you setup the keyboard in EmulationStation to have Enter = A, and then also in RetroArch you have both A and Enter assigned to the same input, perhaps it is registering that you pressed both A and Enter. This could possibly be triggering the double tap because it thinks your pressing A and Enter at the same time.

      I may not have described exactly what the scenario is, but I suspect something like this is happening...

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

        @Concat

        It's a very good thought and one that I've been entertaining myself, but I've never been able to make the connection fully. I mean, Emulation Station is scripted to alter input settings once after the mapping procedure. I've checked the RetroArch config file and can't find a second entry that might conflict. Whatever the case may be, I think it is indeed getting input from two separate device settings.

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

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

          It appears as though the same thing happens when the 'Delete' key is mapped to the 'B' button. Only this time you'll move backwards two levels through the menu system. Could these keys be hardcoded into the software specifically in the RetroPie version of RetroArch for some reason?

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

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

            Nothing like that hardcoded specially in the RetroPie version.

            It could well be a RetroArch issue, but you should check the configs/all/retroarch.cfg where the keyboard mappings are stored.

            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

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

              Thanks for chiming in @BuZz. I was hoping to hear from a project team member on this. I've been working on this universal control scheme for nearly three months and to be so close to finishing, only to run into a bizarre issue like this is terribly frustrating. However, I'll do what I always do and put it aside for a while and hope the answer comes to me in time. Thanks again to both of you.

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

              C 1 Reply Last reply Reply Quote 0
              • C
                Concat @mediamogul
                last edited by

                I was curious about the issue, so when I got home I booted up my RPi with only my keyboard plugged in.

                I have the letter A mapped to the A button, which works to select menu items, but Enter also works. Enter is mapped to the Start input, but Start on my controller does not work to select menu items. Only the A button does.

                Seems to indicate that Enter is hardmapped to A when in the menu and would explain your double input problem.

                1 Reply Last reply Reply Quote 0
                • C
                  Concat
                  last edited by

                  Oh and for me, Backspace will move back one level even though I have the letter B mapped to B (which also works to move back one level).

                  Now you just need to figure out where the hardmapping comes from.

                  Fyi, my previous post about having a gamepad button and key assigned to the same input doesnt seem to apply here. For example, my setup when my ps3 controller is plugged in says A is mapped to button 14 and key a. Says nothing about enter. So I can use the X button on my ps3 contoller, the letter a, and enter to select menu items while in the menu...

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

                    The mapping is probably hardcoded in RetroArch (possibly https://github.com/libretro/RetroArch/blob/7d93f63e6a1c39eeefd9ec00400b27be07c14dbf/menu/menu_driver.c#L211 - I just did a quick search of the sourcecode, so it might be wrong) - you can open a ticket here for clarification - https://github.com/libretro/RetroArch/issues

                    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

                    mediamogulM 1 Reply Last reply Reply Quote 1
                    • C
                      Concat
                      last edited by

                      To solve the issue temporarily, you could swap a and x (example) in the user binds, and then use control remaps for the cores to swap them back (in game quick menu > control). This way, Enter would be X in the menu (plus the hardcoded menu select input), but in the game it's remapped to whatever A is supposed to be. Make sense?

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

                        @Concat, @BuZz

                        I really appreciate the extras eyes on this to confirm what I was seeing. I can't reproduce the problem on Windows or the MacOS, so maybe it's a Linux-specific issue. I'll open a ticket and see what the RetroArch team has to say. Thanks BuZz, for searching the sourcecode. I need to learn how to do that somewhere down the road. Also, thank you Concat for the map testing. I was beginning to think I was imagining the whole thing ;).

                        In an effort to move forward with my own goal, I'll have to rethink and even compromise the idea of a universal gamepad control scheme for now, but I have a few ideas in mind to easily allow switching between control schemes for all the systems that currently lack Joystick support. Perhaps a series of script templates that can easily be installed and launched from a sub-directory in the 'RetroPie' menu in Emulation Station. This might be better in the long run as the end user could duplicate and configure the templates on a game-by-game basis for systems like the ColecoVision that need a more refined control scheme depending on the game.

                        Edit: Also, thanks for the last suggestion Concat. While it doesn't meet the global requirements I need, I'm definitely going to keep that trick in mind for the future.

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

                        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.