Wireless Xbox 360 Controller - Kodi 16.1 - Retropie 3.7
-
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=3001brc.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 -
@dc Update/install again from the Experimental menu. That was fixed yesterday.
-
@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.
-
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. -
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. -
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.
-
@wetriner Thank you sir, I will give this a try when I get home this evening.
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.