diff options
author | Dmitry Torokhov <dtor_core@ameritech.net> | 2005-12-29 22:19:08 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-30 08:20:26 -0800 |
commit | ae5536d6f7f9b51f7a0451421eade1988cfd7126 (patch) | |
tree | bd84138298e7a027c4fa2b8941b33a0d9c547531 /drivers/input/joystick/warrior.c | |
parent | 1994754412536d4ab902a81530b49bcaf496a59c (diff) | |
download | talos-op-linux-ae5536d6f7f9b51f7a0451421eade1988cfd7126.tar.gz talos-op-linux-ae5536d6f7f9b51f7a0451421eade1988cfd7126.zip |
[PATCH] Input: warrior - fix HAT0Y axis setup
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>
Diffstat (limited to 'drivers/input/joystick/warrior.c')
-rw-r--r-- | drivers/input/joystick/warrior.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/joystick/warrior.c b/drivers/input/joystick/warrior.c index 99a642d2a1fe..1849b176cf18 100644 --- 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_HAT0X, -1, 1, 0, 0); + input_set_abs_params(input_dev, ABS_HAT0Y, -1, 1, 0, 0); serio_set_drvdata(serio, warrior); |