Messages in this thread Patch in this message | | | Date | Thu, 29 Dec 2005 22:19:08 -0500 | From | Dmitry Torokhov <> | Subject | [patch 2/3] 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> ---
Index: work/drivers/input/joystick/warrior.c =================================================================== --- work.orig/drivers/input/joystick/warrior.c +++ work/drivers/input/joystick/warrior.c @@ -172,7 +172,7 @@ static int warrior_connect(struct serio 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); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |