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

    Xbox 360 Wireless Controllers Not Responding in Game

    Scheduled Pinned Locked Moved Help and Support
    xboxxbox360controllerinput
    11 Posts 2 Posters 3.3k 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.
    • P
      pruett
      last edited by pruett

      Hey friends,

      I would love some help getting (2) Xbox 360 wireless controllers working with my RetroPie. I'm running 4.0-beta2 of RetroPie on a Raspberry Pi 2.

      So far, I've enabled xboxdrv via the command-line GUI and followed the init script setup options outlined here: https://github.com/RetroPie/RetroPie-Setup/wiki/Setting-up-the-XBox360-controller#3---init-script. I'm able to fire up the Pi, move around to different emulators on the ES GUI with the Xbox controllers, and go through the key mapping configuration process for each controller. This is great I think..but when I fire up a game, and it asks me to press Start, my buttons don't work.

      Not sure if the controllers are somehow deactivated when I'm inside the emulator or what, but I can't seem to wrap my head around it. I'm pretty tech-savvy and don't mind getting my hands dirty in the command-line or editing configuration files via the terminal, but I don't know exactly where certain configuration settings are stored. I've tried rm /opt/retropie/../retroarch.cfg and rebooting to clear settings, but not sure if this was useful. I'm not even sure what RetroArch does really.

      Is there a way to reset all the controller settings and start from scratch? Or perhaps there is a simple solution to why my controllers don't seem to work within the ROMs themselves?

      Thanks in advance!

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

        Did you search the forum ?

        There are quite a few threads on this already - eg https://retropie.org.uk/forum/topic/2056/xbox-360-wireless-controllers-problem

        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
        • BuZzB
          BuZz administrators
          last edited by BuZz

          If it's an unrelated issue, you can reset the input configuration by removing /opt/retropie/configs/all/emulationstation/es_input.cfg and then reinstalling emulationstation from the packages menu. it will prompt you to reconfigure the controllers and set up retroarch configs accordingly.

          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
          • P
            pruett
            last edited by pruett

            @BuZz No, I have not seen this issue posted doing a preliminary search. I cleared the .cfg file and reinstalled ES via command-line GUI and still get the same error.

            Is there additional work that must be done after setting up the gamepad key-mappings to get the gamepad to work in ROMs?

            I don't know what else to do

            1 Reply Last reply Reply Quote 0
            • P
              pruett
              last edited by

              I should mention that the only "gamepad" that works is my keyboard, and I haven't done any specific key mappings. Very strange.

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

                please post the contents of

                /opt/retropie/configs/all/emulationstation/es_input.cfg
                /opt/retropie/configs/all/emulationstation/es_temporaryinput.cfg
                any files in /opt/retropie/configs/all/retroarch-joypads

                Which emulator are you using also (just to make sure you are using a libretro one) ?

                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
                • P
                  pruett
                  last edited by

                  @BuZz I think I figured it out. I had to go into RetroArch config >> and make sure "Save Configuration after Exit" was enabled. After I set this and re-mapped my controllers, the games work! Sorry about the confusion and thanks for the help!

                  Do you recommend any additional settings for the Xbox 360 controllers? Do you recommend tweaking controllers individually for each emulator?

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

                    That isn't ideal though, and doesn't help me to debug what went wrong with the auto 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

                    1 Reply Last reply Reply Quote 0
                    • P
                      pruett
                      last edited by

                      pi@retropie:~ $ cat /opt/retropie/configs/all/emulationstation/es_input.cfg
                      <?xml version="1.0"?>
                      <inputList>
                        <inputAction type="onfinish">
                          <command>/opt/retropie/supplementary/emulationstation/scripts/inputconfiguration.sh</command>
                        </inputAction>
                        <inputConfig type="joystick" deviceName="Xbox Gamepad (userspace driver)">
                          <input name="pagedown" type="button" id="5" value="1"/>
                          <input name="start" type="button" id="9" value="1"/>
                          <input name="pageup" type="button" id="4" 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="down" type="hat" id="0" value="4"/>
                          <input name="right" type="hat" id="0" value="2"/>
                          <input name="select" type="button" id="8" value="1"/>
                          <input name="left" type="hat" id="0" value="8"/>
                        </inputConfig>
                        <inputConfig type="joystick" deviceName="Xbox Gamepad (userspace driver) #2">
                          <input name="pagedown" type="button" id="5" value="1"/>
                          <input name="start" type="button" id="9" value="1"/>
                          <input name="pageup" type="button" id="4" 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="down" type="hat" id="0" value="4"/>
                          <input name="right" type="hat" id="0" value="2"/>
                          <input name="select" type="button" id="8" value="1"/>
                          <input name="left" type="hat" id="0" value="8"/>
                        </inputConfig>
                      </inputList>
                      
                      pi@retropie:~ $ cat /opt/retropie/configs/all/emulationstation/es_temporaryinput.cfg
                      <?xml version="1.0"?>
                      <inputList>
                              <inputConfig type="joystick" deviceName="Xbox Gamepad (userspace driver) #2" deviceGUID="0000000058626f782047616d65706100">
                                      <input name="a" type="button" id="1" value="1" />
                                      <input name="b" type="button" id="0" value="1" />
                                      <input name="down" type="hat" id="0" value="4" />
                                      <input name="left" type="hat" id="0" value="8" />
                                      <input name="leftanalogdown" type="axis" id="1" value="1" />
                                      <input name="leftanalogleft" type="axis" id="0" value="-1" />
                                      <input name="leftanalogright" type="axis" id="0" value="1" />
                                      <input name="leftanalogup" type="axis" id="1" value="-1" />
                                      <input name="leftbottom" type="button" id="4" value="1" />
                                      <input name="leftthumb" type="button" id="11" value="1" />
                                      <input name="lefttop" type="button" id="6" value="1" />
                                      <input name="right" type="hat" id="0" value="2" />
                                      <input name="rightanalogdown" type="axis" id="3" value="1" />
                                      <input name="rightanalogleft" type="axis" id="2" value="-1" />
                                      <input name="rightanalogright" type="axis" id="2" value="1" />
                                      <input name="rightanalogup" type="axis" id="3" value="-1" />
                                      <input name="rightbottom" type="button" id="5" value="1" />
                                      <input name="rightthumb" type="button" id="12" value="1" />
                                      <input name="righttop" type="button" id="7" value="1" />
                                      <input name="select" type="button" id="8" value="1" />
                                      <input name="start" type="button" id="9" value="1" />
                                      <input name="up" type="hat" id="0" value="1" />
                                      <input name="x" type="button" id="3" value="1" />
                                      <input name="y" type="button" id="2" value="1" />
                              </inputConfig>
                      </inputList>
                      
                      pi@retropie:~ $ ls -la /opt/retropie/configs/all/retroarch-joypads/
                      total 24
                      drwxr-xr-x 2 pi pi 4096 Jun 26 18:00 .
                      drwxr-xr-x 4 pi pi 4096 Jun 26 17:58 ..
                      -rw-r--r-- 1 pi pi  874 Jun 26 18:00 XboxGamepad(userspacedriver)#2.cfg
                      -rw-r--r-- 1 pi pi  874 Jun 26 17:28 XboxGamepad(userspacedriver)#2.cfg.bak
                      -rw-r--r-- 1 pi pi  871 Jun 26 18:00 XboxGamepad(userspacedriver).cfg
                      -rw-r--r-- 1 pi pi  871 Jun 26 17:57 XboxGamepad(userspacedriver).cfg.bak
                      

                      I noticed that the Ports emulator doesn't work with my controllers.

                      It also seems like the buttons are super laggy in the 3 emulators I'm testing, NES, Sega, SNES

                      Thanks for the help @BuZz

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

                        I would need to see the contents of the retroarch-joypads - but I need the contents before you configured the controls in retroarch - eg from a fresh image (and then after for a comparison)

                        There is no such things as a "ports emulator". The ports section is full of various software/game ports, some of which have their own joystick configuration, others that need a keyboard. Refer to the wiki for information.

                        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
                        • BuZzB
                          BuZz administrators
                          last edited by BuZz

                          If you have lag, it is likely related primarily to your screen - There are other posts on the forum, and make sure your screen is in Game mode if it has one.

                          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
                          • 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.