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

    Joystick not working in emulators

    Scheduled Pinned Locked Moved Help and Support
    buttons neededemulators
    20 Posts 6 Posters 4.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.
    • F
      fatfei @fatfei
      last edited by

      @fatfei the only thing I can think of is that I did reconfigure the buttons in the retropie settings a few times to get it the way I wanted. Could something had corrupted?

      I run RM /home/pi/.emulationstation/es_input_cfg
      to reconfigure my joypad previously.

      BuZzB mituM 2 Replies Last reply Reply Quote 0
      • F
        fatfei @Thorr69
        last edited by

        @thorr69 yeah I think I'll try to swap the buttons and see how that goes.

        Thorr69T 1 Reply Last reply Reply Quote 0
        • Thorr69T
          Thorr69 @fatfei
          last edited by

          @fatfei @mitu
          Also, I see mapping for the A button (input_a_btn = "3") but I don't see an entry for the B button. If the A/B swap is happening and there is no B button mapped, then I could see this whole predicament happening.

          RPi 3b
          Official PSU
          Official RetroPie image
          Pandora's Box 5 controller

          1 Reply Last reply Reply Quote 1
          • Thorr69T
            Thorr69 @fatfei
            last edited by Thorr69

            @fatfei said in Joystick not working in emulators:

            @thorr69 yeah I think I'll try to swap the buttons and see how that goes.

            That's not what I am saying. There is an automatic swap of the A and B buttons that happens when you launch a game. There is a menu option (don't recall where exactly) to disable it. It's mentioned in many threads like this one: https://retropie.org.uk/forum/post/162448
            Also here: https://retropie.org.uk/forum/post/92928

            This one has the menu sequence in it:
            https://retropie.org.uk/forum/topic/6379/swap-a-b-button-in-emulationstation?_=1646246563253

            RPi 3b
            Official PSU
            Official RetroPie image
            Pandora's Box 5 controller

            F 1 Reply Last reply Reply Quote 1
            • F
              fatfei @Thorr69
              last edited by fatfei

              @thorr69 ah I see. Yeah vaguely remember seeing something like that. But I don't think they're swapping because the functionality for the A button (eg. Acceleration in mario kart) isn't available no matter what button I push. I.e no button takes on the function of the "A" button in the games

              Sorry forget that last part, so you're saying it may be swapping but that button not mapping.

              Okay thanks. I'll have a look for those settings and see what happens.

              Thanks a lot 👍

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

                @fatfei said in Joystick not working in emulators:

                I run RM /home/pi/.emulationstation/es_input_cfg
                to reconfigure my joypad previously.

                You shouldn't remove /home/pi/.emulationstation/es_input_cfg This file needs to contain some information by default to trigger RetroArch configuration. Without it, if you reconfigure a joypad in emulationstation RetroArch will not be updated. By default it contains

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

                You can reset this file back to default via RetroPie-Setup -> Configuration / Tools -> emulationstation -> 1 Clear/Reset Emulation Station input configuration

                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

                F 1 Reply Last reply Reply Quote 1
                • mituM
                  mitu Global Moderator @fatfei
                  last edited by

                  @fatfei said in Joystick not working in emulators:

                  I run RM /home/pi/.emulationstation/es_input_cfg
                  to reconfigure my joypad previously.

                  That's not the proper way to reset your input configuration, the RetroArch configuration profile is probably not updated because of this. It's enough to re-configure your joystick from EmulationStation and this will automatically re-configure the emulators.

                  EDIT: ninja's by @buzz :)

                  F 1 Reply Last reply Reply Quote 2
                  • F
                    fatfei @mitu
                    last edited by

                    @mitu ah, okay. This was when I first setup the retropie. I couldn't access the settings because I made a mistake with the mapping and it wouldn't let me back into settings to remap.

                    So I need to update this then?

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

                      @fatfei See @BuZz's reply -exit EmulationStation and re-create the file you erased with the content posted, then start again the configuration (since now you'll have an empty one).

                      1 Reply Last reply Reply Quote 1
                      • F
                        fatfei @BuZz
                        last edited by

                        @buzz said in Joystick not working in emulators:

                        @fatfei said in Joystick not working in emulators:

                        I run RM /home/pi/.emulationstation/es_input_cfg
                        to reconfigure my joypad previously.

                        You shouldn't remove /home/pi/.emulationstation/es_input_cfg This file needs to contain some information by default to trigger RetroArch configuration. Without it, if you reconfigure a joypad in emulationstation RetroArch will not be updated. By default it contains

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

                        You can reset this file back to default via RetroPie-Setup -> Configuration / Tools -> emulationstation -> 1 Clear/Reset Emulation Station input configuration

                        Well that fixed it! Thank you 😀😀😀

                        Side note, it's really weird that now pie settings display options are so much smaller than the in game display. I'm sure that's something I can play around with.

                        But thank you all so much. Really greatful for that & I also learn quite a bit and discovered quite a lot of options I shall read up on & play around with .

                        Best regards

                        Fei

                        F S 2 Replies Last reply Reply Quote 0
                        • F
                          fatfei @fatfei
                          last edited by

                          @fatfei ah, sorted the small font in settings too.

                          😀

                          1 Reply Last reply Reply Quote 0
                          • S
                            sleve_mcdichael @fatfei
                            last edited by

                            @fatfei said in Joystick not working in emulators:

                            Side note, it's really weird that now pie settings display options are so much smaller than the in game display. I'm sure that's something I can play around with.

                            You can increase the console font size in RetroPie-Setup > Configuration/tools > consolefont or from terminal with command sudo dpkg-reconfigure console-setup:

                            https://retropie.org.uk/docs/FAQ/#how-can-i-increase-the-console-font-size

                            F 1 Reply Last reply Reply Quote 1
                            • F
                              fatfei @sleve_mcdichael
                              last edited by fatfei

                              @sleve_mcdichael thanks all sorted although I've got problems with the n64 emulator. I can move the joy stock to select different characters but when it comes to a race, I can't turn. I randomly chose another bye game and the stick doesn't work on that either.

                              It works fine on the SNES. I'll take a look on Google later to see what I can configure.👍

                              YFZdudeY 1 Reply Last reply Reply Quote 0
                              • YFZdudeY
                                YFZdude @fatfei
                                last edited by YFZdude

                                @fatfei said in Joystick not working in emulators:

                                I can move the joy stock to select different characters but when it comes to a race, I can't turn. I randomly chose another bye game and the stick doesn't work on that either.

                                I think this is because the N64 games were set up to only use the analog stick. If you mapped your joystick to the UP,DOWN,LEFT,RIGHT buttons, then that is the same as using the D-Pad. The analog stick has separate mappings. Something like Left Analog Up, etc.

                                1 Reply Last reply Reply Quote 1
                                • 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.