Skip to contentSkip to conversation

Input: aiptek - fix Y axis setup

PATCH New Dmitry Torokhov 1 participant 1 message Dec 29, 2005 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Input: aiptek - fix Y axis setup

From: Riccardo Magliocchetti <[email protected]>

This patch fixes a typo introduced by conversion to dynamic input_dev allocation.

---

 drivers/usb/input/aiptek.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/usb/input/aiptek.c +1 -1
Index: work/drivers/usb/input/aiptek.c
===================================================================
@@ -2103,7 +2103,7 @@ aiptek_probe(struct usb_interface *intf,
 	 * values.
 	 */
 	input_set_abs_params(inputdev, ABS_X, 0, 2999, 0, 0);
-	input_set_abs_params(inputdev, ABS_X, 0, 2249, 0, 0);
+	input_set_abs_params(inputdev, ABS_Y, 0, 2249, 0, 0);
 	input_set_abs_params(inputdev, ABS_PRESSURE, 0, 511, 0, 0);
 	input_set_abs_params(inputdev, ABS_TILT_X, AIPTEK_TILT_MIN, AIPTEK_TILT_MAX, 0, 0);
 	input_set_abs_params(inputdev, ABS_TILT_Y, AIPTEK_TILT_MIN, AIPTEK_TILT_MAX, 0, 0);