summaryrefslogtreecommitdiffstats
path: root/drivers/serial/zs.c
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@gmail.com>2008-04-03 16:18:23 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-04-03 16:18:23 -0400
commit97f09cb53da583cefc1ce2930de8f64b52cfc54b (patch)
treee3e784a4076f3ac80be29f465a0d15236c29640e /drivers/serial/zs.c
parenta0979923d7c34c9c60d0ee8a533f9502dcfbd42b (diff)
Input: xpad - fix inverted Y and RY axes
The commit ae91d10aab2762f81733e9194cb56eff99c8d808 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>
Diffstat (limited to 'drivers/serial/zs.c')
0 files changed, 0 insertions, 0 deletions