Kodi Community Forum

Full Version: Linux and steam recognize my 360 controller, but Kodi ignores it?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OS: Ubuntu 16.10 x64
Kodi: 17.0-RC2 Git:20161230

I'd like to control Kodi with my original Xbox 360 wireless for PC controller, but it somehow still ignores it.

Code:
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 1997:2433  
Bus 001 Device 004: ID 045e:0719 Microsoft Corp. Xbox 360 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ groups htpc
htpc : htpc dialout cdrom dip video plugdev users input netdev

$ ls -l /dev/input
total 0
drwxr-xr-x 2 root root     100 Jan  5 07:14 by-id
drwxr-xr-x 2 root root     100 Jan  5 07:14 by-path
crw-rw---- 1 root input 13, 64 Jan  5 05:58 event0
crw-rw---- 1 root input 13, 65 Jan  5 05:58 event1
crw-rw---- 1 root input 13, 74 Jan  5 05:58 event10
crw-rw---- 1 root input 13, 75 Jan  5 05:58 event11
crw-rw---- 1 root input 13, 76 Jan  5 05:58 event12
crw-rw---- 1 root input 13, 77 Jan  5 05:58 event13
crw-rw---- 1 root input 13, 66 Jan  5 05:58 event2
crw-rw---- 1 root input 13, 67 Jan  5 05:58 event3
crw-rw---- 1 root input 13, 68 Jan  5 05:58 event4
crw-rw---- 1 root input 13, 69 Jan  5 05:58 event5
crw-rw---- 1 root input 13, 70 Jan  5 05:58 event6
crw-rw---- 1 root input 13, 71 Jan  5 05:58 event7
crw-rw---- 1 root input 13, 72 Jan  5 05:58 event8
crw-rw---- 1 root input 13, 73 Jan  5 05:58 event9
crw-rw---- 1 root input 13, 63 Jan  5 05:58 mice
crw-rw---- 1 root input 13, 32 Jan  5 05:58 mouse0


I can confirm the controller is working in the OS by reading from /dev/input/js0 and pressing buttons. It also works perfectly fine in Steam. I've added joydev and xpad to my /etc/modules file.

In my Kodi (Kryption RC2) I can see under settings/input a Kodi profile with keymap, which does nothing. I can add profiles of other (NES etc) controllers, but nothing for my 360 controller.
Any ideas what I'm doing wrong? Other ways to troubleshoot?

Edit: By downgrading to Jarvis I confirmed that this is unfortunately a bug in the Krypton RC2..
install and enable (in kodi got to my addons - peripheral addons) the kodi-peripheral-joystick addon, then configure the controller in input settings
I don't have any peripherals category. If you mean the new Krypton setting, that is already available for me. It does, however, show no entries under peripherals and doesn't react if I try to bind a button for example.

Edit:

Still running

Code:
sudo apt-get install kodi-peripheral-joystick

Fixed my issue. Any reason this didn't install automatically?
Because it is optional.