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)
commitae91d10aab2762f81733e9194cb56eff99c8d808
tree0be462dbe75c9fdb55cd5281db83ced72934a066
parent6426b333a7365035ede9744faa24bdc5682fad8a
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