android_kernel_xiaomi_sm8350/drivers/input/joystick
Anssi Hannula 97f09cb53d Input: xpad - fix inverted Y and RY axes
The commit ae91d10aab inverted Y and RY
axes on xbox360 so that up is positive and down is negative.
This is wrong, as axes on game controllers have up as negative per
convention. Also, even xpad itself reports HAT0X with up as negative.

Fix that by inverting them again.

Also, according to http://bugzilla.kernel.org/show_bug.cgi?id=10337 the
original xbox controllers also have the Y and RY axes inverted.
Fix that by inverting them as well.

Cc: Brian Magnuson <bdmagnuson@gmail.com>
Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2008-04-03 16:18:23 -04:00
..
iforce Input: iforce - don't access input_dev->private directly 2008-01-21 01:11:07 -05:00
a3d.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
adi.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
amijoy.c Input: drop redundant includes of moduleparam.h 2008-01-21 01:11:07 -05:00
analog.c mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
cobra.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
db9.c Input: drop redundant includes of moduleparam.h 2008-01-21 01:11:07 -05:00
gamecon.c Input: drop redundant includes of moduleparam.h 2008-01-21 01:11:07 -05:00
gf2k.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
grip_mp.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
grip.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
guillemot.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
interact.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
joydump.c
Kconfig
magellan.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
Makefile
sidewinder.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
spaceball.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
spaceorb.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
stinger.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
tmdc.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
turbografx.c Input: drop redundant includes of moduleparam.h 2008-01-21 01:11:07 -05:00
twidjoy.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
warrior.c get rid of input BIT* duplicate defines 2007-10-19 11:53:42 -07:00
xpad.c Input: xpad - fix inverted Y and RY axes 2008-04-03 16:18:23 -04:00