2011-01-06, 15:14
alexpigment, you could modify your guide to simply use the repository to get xboxdrv (which gets the latest version also).
I just tested this method on a fresh xbmc live install and it was quite simple (only for one controller but you get the idea):
First install xboxdrv:
Then, make a new bash script called ~xbmc/xboxdrv.sh containing:
(and make it executable)
Then, add this line to /etc/rc.local
Lastly, copy the keymap same way you described.
That's it.
I have discovered that the wireless dongle sometimes can't be detected if it hasn't been shutdown/initialised properly.. through my various experiments I managed to run into this a few times. Properly turning off my PC seems to reset it, or you can unplug/replug the device. Worth noting.
I just tested this method on a fresh xbmc live install and it was quite simple (only for one controller but you get the idea):
First install xboxdrv:
Code:
sudo add-apt-repository ppa:grumbel/ppa
sudo apt-get update
sudo apt-get install xboxdrv
Then, make a new bash script called ~xbmc/xboxdrv.sh containing:
Code:
#!/bin/bash
rmmod xpad
modprobe uinput
modprobe joydev
xboxdrv --wid 0 -s -l 2 --dpad-as-button --deadzone 12000 --trigger-as-zaxis
(and make it executable)
Then, add this line to /etc/rc.local
Code:
/home/xbmc/xboxdrv.sh
Lastly, copy the keymap same way you described.
That's it.
I have discovered that the wireless dongle sometimes can't be detected if it hasn't been shutdown/initialised properly.. through my various experiments I managed to run into this a few times. Properly turning off my PC seems to reset it, or you can unplug/replug the device. Worth noting.