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

    controller not mapped correctly in games :(

    Scheduled Pinned Locked Moved Help and Support
    retroarch
    26 Posts 5 Posters 2.8k 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

      Are you using a 3rd party image or the one downloaded from retropie.org.uk/download ?

      1 Reply Last reply Reply Quote 0
      • N
        naddel81
        last edited by

        downloaded directly from the website you linked. it was a 4.4 image that was then updated to 4.4.4 yesterday.

        mituM 1 Reply Last reply Reply Quote 0
        • cyperghostC
          cyperghost
          last edited by cyperghost

          @naddel81

          Please check if this header is present in your ES config file
          nano /opt/retropie/configs/all/emulationstation/es_input.cfg
          And if you change or delete something take care of the few lines the <command> is mandotary for autoconfig.

          <?xml version="1.0"?>
          <inputList>
            <inputAction type="onfinish">
              <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
            </inputAction>
          

          @mitu
          It sometimes happen that the button numbering is wrong. So you can play arounf with udev and sdl... but imho it is better to enter a retroarch (with a working controller or controller) and then set the joypad there. Then you write down the numbers of each button and write it back to the specific autoconfig and then it should work.

          1 Reply Last reply Reply Quote 0
          • N
            naddel81
            last edited by

            @ cyberghost: this is in the file you mentioned:
            "<?xml version="1.0"?>
            <inputList>
            <inputAction type="onfinish">
            <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
            </inputAction>
            <inputConfig type="joystick" deviceName="Gamepad" deviceGUID="0500000049190000020400001b010000">
            <input name="rightanalogdown" type="axis" id="3" value="1"/>
            <input name="rightanalogleft" type="axis" id="2" value="1"/>
            <input name="pageup" type="button" id="8" value="1"/>
            <input name="start" type="button" id="11" value="1"/>
            <input name="rightanalogup" type="axis" id="3" value="-1"/>
            <input name="down" type="hat" id="0" value="4"/>
            <input name="leftanalogright" type="axis" id="0" value="1"/>
            <input name="pagedown" type="button" id="9" value="1"/>
            <input name="right" type="hat" id="0" value="2"/>
            <input name="select" type="button" id="10" value="1"/>
            <input name="left" type="hat" id="0" value="8"/>
            <input name="leftanalogup" type="axis" id="1" value="-1"/>
            <input name="up" type="hat" id="0" value="1"/>
            <input name="a" type="button" id="1" value="1"/>
            <input name="b" type="button" id="0" value="1"/>
            <input name="leftanalogdown" type="axis" id="1" value="1"/>
            <input name="x" type="button" id="4" value="1"/>
            <input name="leftanalogleft" type="axis" id="0" value="-1"/>
            <input name="y" type="button" id="3" value="1"/>
            <input name="rightanalogright" type="axis" id="2" value="-1"/>
            </inputConfig>
            </inputList>"

            Will deleting the game controller files and resetting ES mappings fix this issue?

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

              @naddel81 You configuration folder shows 4 gamepads already configured. The RetroPie image does not include any auto-configured gamepads obviously , so this is a little bit strange how those configurations got there. Re-install the image and configure your gamepad again, then post the .cfg file that Emulationstation produces.

              1 Reply Last reply Reply Quote 0
              • cyperghostC
                cyperghost
                last edited by cyperghost

                @naddel81
                Please use three backticks for code enclosure

                So
                ```
                CODE LINE
                ```
                Looke this

                CODE LINE                                                                                
                

                No... if if delete the file you loose your autoconfig. Not needed. But you can delete the autoconfig files in the folder if you want.
                It was just for cross check

                Please descripe

                I enter a game, it does not recognize most of the buttons.
                why is that? and how to I reset the retroarch input settings?

                Does only the DPAD work and no other button?

                @mitu

                Strange files

                I think he tried several PADs, see the creation date .... dated yesterday. So I think it's okay.

                1 Reply Last reply Reply Quote 0
                • N
                  naddel81
                  last edited by

                  I restarted from scratch now. Gamepad works, but hotkeys still don't.

                  cyperghostC mituM 2 Replies Last reply Reply Quote 0
                  • cyperghostC
                    cyperghost @naddel81
                    last edited by

                    @naddel81

                    @mitu will help you ;) you are already there ;)

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

                      @naddel81 Please see my previous post.

                      1 Reply Last reply Reply Quote 0
                      • N
                        naddel81
                        last edited by

                        you guys are my heroes, thanks!

                        hotkeys work now.

                        only problem left is the scrolling which is not smooth at all. see here

                        I don't think it has to do with the super eagle 2xsai preset I use. the pi 3 b+ should be more than capable of any video preset, right?

                        how do I get smoother scrolling?

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

                          @naddel81 said in controller not mapped correctly in games :(:

                          I don't think it has to do with the super eagle 2xsai preset I use. the pi 3 b+ should be more than capable of any video preset, right?

                          Not quite. The more advanced the shaders are, the more performance hungry they are and will impact your gameplay.

                          1 Reply Last reply Reply Quote 0
                          • N
                            naddel81
                            last edited by

                            yes, you are right. the super eagle + 2xsai made it stutter constantly when in motion.
                            the normal 2xsai runs fine.
                            is this CPU or GPU dependant?

                            mituM DarksaviorD 2 Replies Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @naddel81
                              last edited by

                              @naddel81 said in controller not mapped correctly in games :(:

                              is this CPU or GPU dependant?

                              Shaders are mostly GPU dependant.

                              1 Reply Last reply Reply Quote 0
                              • DarksaviorD
                                Darksavior @naddel81
                                last edited by

                                @naddel81 I believe the only shaders made for the pi are crt-pi and zfast. Zfast is slightly faster and even runs on a lower end pi2 or snes classic.

                                1 Reply Last reply Reply Quote 0
                                • N
                                  naddel81
                                  last edited by

                                  @Darksavior said in controller not mapped correctly in games :(:

                                  zfast

                                  too bad the GPU on the pi is such a slouch. :(

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

                                    @naddel81 Get a PC, you'll be able to play more games/consoles.

                                    1 Reply Last reply Reply Quote 0
                                    • N
                                      naddel81
                                      last edited by

                                      I have several gaming PCs available. problem is: none of them is as portable as the pi.

                                      ClydeC 1 Reply Last reply Reply Quote 0
                                      • ClydeC
                                        Clyde @naddel81
                                        last edited by

                                        @naddel81 Portability comes with many compromises, performance is one of the most prominent.

                                        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.