]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - fix report for dpad and inverted Y and RY axes on xbox 360
authorDmitry Torokhov <dtor@insightbb.com>
Fri, 15 Jun 2007 03:49:55 +0000 (23:49 -0400)
committerDmitry Torokhov <dtor@insightbb.com>
Tue, 10 Jul 2007 04:35:18 +0000 (00:35 -0400)
commit4c373271935d003eda4bac919c06067264c5ea8e
tree0be462dbe75c9fdb55cd5281db83ced72934a066
parentaff7f2281e7daa67c721d7cf842912b37d3cc593
Input: xpad - fix report for dpad and inverted Y and RY axes on xbox 360

Make the driver report Y/RY up as positive value and down as negative. Also
make DPAD mapping the same as classic xpad.

Reported-by: Brian Magnuson <bdmagnuson@gmail.com>
Tested-by: Jan Kratochvil <honza@jikos.cz>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/joystick/xpad.c