2009-11-14, 02:45
darwin Wrote:Provide some specific details, and I can try to answer your questions.
- which versions of linux, live and xbmc?
- which version of the keymap.xml and startup script are you using?
- if you aren't using one of the startup scripts, what is your exactly xboxdrv command line?
The same keymap.xml without --trigger-as-zaxis should really not work properly because trigger-as-zaxis makes two axises (analog axises NOT centered at 0!) into one, with a different axis number.
If you :
Code:apt-get install joystick
And then run :
Code:jstest /path/to/your/joystick/device/that/xbodrv/announces
While running xboxdrv, you can see the axis numbers and values in jstest. The numbers in the Keymap xml are the jstest values +1. So if jstest says the trigger z-axis is axis "2", the keymap.xml gets :
Code:<axis id="3" limit="-1">ScrollUp</axis>
<axis id="3" limit="-1">ScrollDown</axis>
I don't have a dongle for my original Xbox controllers, so I haven't tested with the Xbox S Controller. If you do get a working keymap.xml for this controller and xboxdrv that scrolls in menus with the triggers, let me know how you did it and I will include your file in v2 of the xboxdrv_for_XBMC_live package.
=darwin
I have this problem with my wireless 360 Controller as well. L/R on the right stick changes volume but doesn't seek, while theU/D on the stick seek.
U/D as 4 and L/R as 3 in jstest. I run with:
./xboxdrv-linux-0.4.8 --wid 0 -s -l 2 --dpad-as-button --deadzone 12000 --trigger-as-zaxis
on 9.04.
Any idea why they're flipped? I'm using the provided keymap file.