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

    Wireless Xbox 360 Controller - Kodi 16.1 - Retropie 3.7

    Scheduled Pinned Locked Moved Help and Support
    7 Posts 4 Posters 4.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.
    • ?
      A Former User
      last edited by

      Hello everyone.

      I have recently upgraded to Retropie 3.7 and installed Kodi 16.1 from the experimental menu in the RetroPie-Setup script. Everything seems to be working fine except for my wireless Xbox 360 controller. The button mappings do not seem to be quite right, and the left trigger totally crashes Kodi. The right stick is supposed to control the volume, but I can't get it to raise/lower the volume. Anyone have any ideas as to how I can get the controller working correctly? I am using the default xbox360.xml map that is included with Kodi (/usr/share/kodi/system/keymaps/xbox360.xml). I am using the xboxdrv driver, also installed from the RetroPie-Setup script. My gamepad works flawlessly in all emulators as well as with Moonlight-embedded game streaming.

      :~$ cat /proc/bus/input/devices/

      I: Bus=0000 Vendor=0000 Product=0000 Version=0000
      N: Name="Xbox Gamepad (userspace driver)"
      P: Phys=
      S: Sysfs=/devices/virtual/input/input6
      U: Uniq=
      H: Handlers=event6 js4
      B: PROP=0
      B: EV=b
      B: KEY=7fdb0000 0 0 0 0 0 0 0 0 0
      B: ABS=3001b

      rc.local:
      "/opt/retropie/supplementary/xboxdrv/bin/xboxdrv" --daemon --detach --dbus disabled --detach-kernel-driver --id 0 --led 2 --deadzone 4000 --silent --trigger-as-button
      exit 0

      RascasR herb_fargusH 2 Replies Last reply Reply Quote 0
      • RascasR
        Rascas @A Former User
        last edited by

        @dc Update/install again from the Experimental menu. That was fixed yesterday.

        1 Reply Last reply Reply Quote 0
        • herb_fargusH
          herb_fargus administrators @A Former User
          last edited by

          @dc its not perfect, rather its a quick solution for basic navigation, mash buttons til you figure out the mappings or edit the config manually to your preferences in /usr/share/kodi/system/keymaps/xbox360.xml

          hopefully the integration in kodi 17 when it comes out will render this method obsolete - though its possible the xboxdrv may cause some nuances compared to the other xbox drivers.

          If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

          Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

          1 Reply Last reply Reply Quote 0
          • RascasR
            Rascas
            last edited by Rascas

            I just noticed that you are already using the updated version, I am sorry. Well, do as Herb says. The analog sticks may have some bugs, although it rarely happens on my PS3 and Logitech controllers.

            There isn't official joystick support for Kodi on the Raspberry Pi. This Kodi version has a kind of backporting of the Kodi 17 official support, that it is still in developtment. The system is the same, what will be different in Kodi 17 is that it will have a specific addon to autoconfigure and change the keymaps. Yes, it will have the same keymaps system. From my tests of Kodi 17, it is even worse, but there is still much time to improve it till the stable release. Let's hope that they can make it work better :D
            And also, the PC x86 version of Kodi was never perfect either.

            1 Reply Last reply Reply Quote 0
            • RascasR
              Rascas
              last edited by Rascas

              Well, I did another test and my controllers work just fine in Kodi 16.1. It is in Kodi 17 that sometimes the analog sticks have some problems.
              Currently I do not have xbox 360 controllers, but I believe the problem is in the xboxdrv/Kodi combination.

              1 Reply Last reply Reply Quote 0
              • W
                wetriner
                last edited by

                If you want to use a custom xml to override the stock one, I have one that's mapped out and working fully for me on xboxdrv.

                xboxdrv xml

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @wetriner
                  last edited by

                  @wetriner Thank you sir, I will give this a try when I get home this evening.

                  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.