[lkml]   [2004]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[patch] xpad driver - incorrect axis settings
Seems the xpad (xbox controller) driver, whilst functioning, reported
down as up, and up as down, on the analogue joysticks for the xpad.
Also the L and R triggers were implemented as axis, rather than buttons.
This patch fixes up both of those issues. I'm yet to have any people
have any errors with it, although not many people have tested it. Also
it seems weird that the driver would be reported functioning if the axis
were inverted, so it might be just an issue with the S controllers from
Microsoft. I tried contacting the maintainer, but got no response from
his email account.
Here's a patch, which patches against most 2.6 kernels, including and 2.6.9, and inverts the axis and fixes the buttons

As soon as I can find an original xbox controller, I'll test it out with
my driver to see what it does. Until then, are there any changes anyone
could suggest? Or if anyone could test it out with an actual original
xbox controller, or any xbox controller for that matter, it would be
great. I'm willing to listen to any advice or demands or insults, I am
not an experience programmer and will make mistakes

[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-03-22 14:06    [W:0.024 / U:8.460 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site