diff options
author | Riccardo Magliocchetti <riccardo@datahost.it> | 2005-12-28 20:44:48 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-12-29 13:19:21 -0500 |
commit | f873e3e88d52774633968826c5b7fa7bf9697999 (patch) | |
tree | f05481ea1f64d551b071c0b0fd71e09293c64611 | |
parent | ee025949586f80effa634ff273c2444795472780 (diff) |
[PATCH] Input: aiptek - fix Y 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>
-rw-r--r-- | drivers/usb/input/aiptek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/input/aiptek.c b/drivers/usb/input/aiptek.c index 1c3b472a3bca..0e2505c073db 100644 --- a/drivers/usb/input/aiptek.c +++ b/drivers/usb/input/aiptek.c | |||
@@ -2103,7 +2103,7 @@ aiptek_probe(struct usb_interface *intf, const struct usb_device_id *id) | |||
2103 | * values. | 2103 | * values. |
2104 | */ | 2104 | */ |
2105 | input_set_abs_params(inputdev, ABS_X, 0, 2999, 0, 0); | 2105 | input_set_abs_params(inputdev, ABS_X, 0, 2999, 0, 0); |
2106 | input_set_abs_params(inputdev, ABS_X, 0, 2249, 0, 0); | 2106 | input_set_abs_params(inputdev, ABS_Y, 0, 2249, 0, 0); |
2107 | input_set_abs_params(inputdev, ABS_PRESSURE, 0, 511, 0, 0); | 2107 | input_set_abs_params(inputdev, ABS_PRESSURE, 0, 511, 0, 0); |
2108 | input_set_abs_params(inputdev, ABS_TILT_X, AIPTEK_TILT_MIN, AIPTEK_TILT_MAX, 0, 0); | 2108 | input_set_abs_params(inputdev, ABS_TILT_X, AIPTEK_TILT_MIN, AIPTEK_TILT_MAX, 0, 0); |
2109 | input_set_abs_params(inputdev, ABS_TILT_Y, AIPTEK_TILT_MIN, AIPTEK_TILT_MAX, 0, 0); | 2109 | input_set_abs_params(inputdev, ABS_TILT_Y, AIPTEK_TILT_MIN, AIPTEK_TILT_MAX, 0, 0); |