projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1994754
)
[PATCH] Input: warrior - fix HAT0Y axis setup
author
Dmitry Torokhov
<dtor_core@ameritech.net>
Fri, 30 Dec 2005 03:19:08 +0000
(22:19 -0500)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 30 Dec 2005 16:20:26 +0000
(08:20 -0800)
This patch fixes a typo introduced by conversion to dynamic input_dev
allocation.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/input/joystick/warrior.c
patch
|
blob
|
history
diff --git
a/drivers/input/joystick/warrior.c
b/drivers/input/joystick/warrior.c
index 99a642d2a1feb145c18bbf0afb55966a8b964cee..1849b176cf1871263171be8d5311cb8470f8784e 100644
(file)
--- a/
drivers/input/joystick/warrior.c
+++ b/
drivers/input/joystick/warrior.c
@@
-172,7
+172,7
@@
static int warrior_connect(struct serio *serio, struct serio_driver *drv)
input_set_abs_params(input_dev, ABS_Y, -64, 64, 0, 8);
input_set_abs_params(input_dev, ABS_THROTTLE, -112, 112, 0, 0);
input_set_abs_params(input_dev, ABS_HAT0X, -1, 1, 0, 0);
- input_set_abs_params(input_dev, ABS_HAT0
X
, -1, 1, 0, 0);
+ input_set_abs_params(input_dev, ABS_HAT0
Y
, -1, 1, 0, 0);
serio_set_drvdata(serio, warrior);