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

    Correct inputs in menu, Wrong inputs in games/emulators.

    Scheduled Pinned Locked Moved Help and Support
    controllerinputs
    11 Posts 3 Posters 2.9k 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.
    • mituM
      mitu Global Moderator
      last edited by

      Can you get a verbose log from the emulator - as described in https://retropie.org.uk/docs/Runcommand/#launch-with-verbose-logging - and post it on pastebin.com to take a look ?

      1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @thegrayfalcon
        last edited by

        @thegrayfalcon said in Correct inputs in menu, Wrong inputs in games/emulators.:

        Hi, I hope some of you can help my with this.
        I decided to buy the the Hori Fighting Commander (Xbox version) for my Raspberry to replace my 8bitdo N30 Pro 2, the thing is, everything works fine until I Launch a game or emulator, then inputs just go crazy.
        I configured my controller (Hori) the correct way in EmulationStation Menu > Configure Input, everything is set correctly A=A, B=B....LB=LB, LT=LT

        note that for an xbox controller, you shouldn't be binding A=A, B=B. See https://retropie.org.uk/docs/Controller-Configuration/:

        alt text

        1 Reply Last reply Reply Quote 0
        • thegrayfalconT
          thegrayfalcon
          last edited by

          Well..I think I found the solution by editing the "retroarch.cfg" file of every emulator and manually remap all the buttons, except for the "lr-mame2003" and "ppssspp" emulator in which their cfg file only has these three lines:

          "# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
          input_remapping_directory = "/opt/retropie/configs/psp/"
          #include "/opt/retropie/configs/all/retroarch.cfg""

          I'm not sure if this is the correct solution but I did manage to solve my problem.

          As for what @dankcushions said:
          I did thought about not binding "same letters" but I thought that using B as accept and A as back button would be weird.
          The Hori Fightning commander is being recognized as a "Generic X-box Pad" and not as a offical Xbox controller.

          My doubt is, Both of my 8bitdo Controllers, the M30 and N30 Plus 2 works fine from the start. Even thought, the M30 uses and Xbox or Genesis layout and the N30 Plus 2 a Snes layout all buttons are mapped correctly of each emulator and all the buttons are available for mapping.
          For example, No matter what control I used in the lr-pcsx rearmed emulator X button will always been in the same position as an original PS controller no matter if the button is A or B (depending on the button layout of the controller) . All other buttons are the same but for the Hori controller, every emulator has a different inputs assigned. in some emulator I cant even map the X and RB buttons.

          i dont get why both my 8bitdo controllers works fine but not the hori.

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @thegrayfalcon
            last edited by

            @thegrayfalcon said in Correct inputs in menu, Wrong inputs in games/emulators.:

            Well..I think I found the solution by editing the "retroarch.cfg" file of every emulator and manually remap all the buttons, except for the "lr-mame2003" and "ppssspp" emulator in which their cfg file only has these three lines:

            "# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
            input_remapping_directory = "/opt/retropie/configs/psp/"
            #include "/opt/retropie/configs/all/retroarch.cfg""

            this is what i would expect for a default retropie setup. more lines than this imply some sort of custom configuration which can introduce strange behaviour. one of the key strengths of retropie is being able to bind your controller once and have that setup proliferate to (almost) all emulators. when you start rebinding per-emulator, that implies something wrong with your initial setup and now introduces a big maintenance task for you every time you need to change something, as i guess you're now aware :)

            As for what @dankcushions said:
            I did thought about not binding "same letters" but I thought that using B as accept and A as back button would be weird.

            in emulationstation? you can swap it for emulationstation only via retropie_setup > Manage packages > Manage core packages > emulationstation > Configurations/Options, then enable Swap A/B Buttons in ES

            My doubt is, Both of my 8bitdo Controllers, the M30 and N30 Plus 2 works fine from the start. Even thought, the M30 uses and Xbox or Genesis layout and the N30 Plus 2 a Snes layout all buttons are mapped correctly of each emulator and all the buttons are available for mapping.
            For example, No matter what control I used in the lr-pcsx rearmed emulator X button will always been in the same position as an original PS controller no matter if the button is A or B (depending on the button layout of the controller) . All other buttons are the same but for the Hori controller, every emulator has a different inputs assigned. in some emulator I cant even map the X and RB buttons.

            i dont get why both my 8bitdo controllers works fine but not the hori.

            well, from what you've described about your .cfg files, you have at least one layer of overrides going on. they should all look like the default (which will be available as retroarch.cfg.rp-dist files in the same directory when you try to update an affected emulator) ones like your psp example above. i also imagine you have some further overrides going on, which you can tell by looking at a verbose log from an affected emulator.

            1 Reply Last reply Reply Quote 0
            • thegrayfalconT
              thegrayfalcon
              last edited by thegrayfalcon

              Here's the pastebin:
              <script src="https://pastebin.com/embed_js/hkD1fdy6"></script>

              btw, Is there a way to completely restart all controller related configurations like it was the first time I installed Retropie?

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

                @thegrayfalcon said in Correct inputs in menu, Wrong inputs in games/emulators.:

                btw, Is there a way to completely restart all controller related configurations like it was the first time I installed Retropie?

                Go to Retropie Setup then Manage Packages >> Manage Core Packages >> EmulationStation >> Configuration / Options >> Clear / Reset EmulationStation Input Configuration.

                thegrayfalconT 1 Reply Last reply Reply Quote 0
                • thegrayfalconT
                  thegrayfalcon @mitu
                  last edited by thegrayfalcon

                  @mitu Will this also delete all the manual configurations I did for every emulator and after this what would be the correct way to configure my controller, so everything is correctly mapped and I don't get any more problems.

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

                    @thegrayfalcon No, it will only reset the ES input configuration, prompting you to re-configure the gamepads on the next start-up.

                    thegrayfalconT 1 Reply Last reply Reply Quote 0
                    • thegrayfalconT
                      thegrayfalcon @mitu
                      last edited by

                      @mitu And to reset emulator settings should I uninstall them and reinstall them?

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

                        @thegrayfalcon No, user settings are not deleted when updating or removing an emulator. Look into the \\retropie\configs\all\retroarch\config folder, this is where overrides (game/core) are stored, and delete the offending overrides.
                        For remaps, look into \\retropie\configs\<system>, where <system> is the name of the RetroPie rom folder, and delete any .rmp files you find.

                        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.