tchoum
Posts: 8
Joined: Thu May 09, 2013 4:30 pm

Not able to control XBMC via Logitech Precision GamePad

Thu May 09, 2013 5:04 pm

Hi everybody,

I installed XBMC (compiled by Michael Gorven) and I wanted to control it with my gamepad (a Logitech Precision)

Xbmc seems to work fine except that gamepad control doesn't.

here is my ~/.xbmc/userdata/keymaps/keyboard.xml

Code: Select all

<keymap>
<global>
<joystick name="Logitech Logitech(R) Precision(TM) Gamepad">
<altname>Logitech Logitech(R) Precision(TM) Gamepad</altname>
<button id="1">Select</button>
<button id="3">Close</button>
<button id="0">Left</button>
<button id="2">Stop</button>
<button id="4">Right</button>
<button id="5">PageUp</button>
<button id="9">OSD</button>
<button id="8">Mute</button>
<button id="6">VolumeDown</button>
<button id="7">VolumeUp</button>
<axis limit="-1" id="1">Up</axis>
<axis limit="+1" id="1">Down</axis>
<axis limit="+1" id="0">Right</axis>
<axis limit="-1" id="0">Left</axis>
</joystick>
</global>
</keymap>
device name:

Code: Select all

pi@rpi ~/.xbmc/userdata/keymaps $ cat /proc/bus/input/devices
I: Bus=0003 Vendor=046d Product=c21a Version=0110
N: Name="Logitech Logitech(R) Precision(TM) Gamepad"
P: Phys=usb-bcm2708_usb-1.3/input0
S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input0
U: Uniq=
H: Handlers=js0 event0 
B: PROP=0
B: EV=1b
B: KEY=3ff 0 0 0 0 0 0 0 0 0
B: ABS=3
B: MSC=10
what's wrong with what I did ?

User avatar
mrpi64
Posts: 931
Joined: Sat Feb 16, 2013 5:13 pm

Re: Not able to control XBMC via Logitech Precision GamePad

Fri May 10, 2013 4:49 pm

im not sure XBMC supports the gamepad. you may have to do some editing of the remote control part in the operating system if nothing else works.
I'm happy to help.
https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=51794 - List of games that work on the Pi.

tchoum
Posts: 8
Joined: Thu May 09, 2013 4:30 pm

Re: Not able to control XBMC via Logitech Precision GamePad

Sun May 12, 2013 8:22 am

after many search, it seems that XBMC distro are compiled with --disable-joystick --disable-sdl arguments on RPi (xbian, raspbmc and so on)

I tried Xbian nightly-build, but it does not start (crash saying "illegal instruction")

(So now I'll try to find something to convert gamepad keys to keyboard...)


edit. found easier solution with an good old usb numpad
Last edited by tchoum on Tue May 14, 2013 5:35 pm, edited 1 time in total.

wildfire99
Posts: 1
Joined: Tue May 14, 2013 12:30 am

Re: Not able to control XBMC via Logitech Precision GamePad

Tue May 14, 2013 12:35 am

hay ! i have the same gamepad and cant get i work either.. :(

pls PM me, so we can find solution together =)

Return to “General discussion”