linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 2.4.19-pre8  Fix for Intuos tablet in wacom.c
@ 2002-05-14  8:31 Christer Nilsson
  2002-05-14 15:37 ` Greg KH
  0 siblings, 1 reply; 6+ messages in thread
From: Christer Nilsson @ 2002-05-14  8:31 UTC (permalink / raw)
  To: greg; +Cc: Linux-Kernel


The changes between 2.4.19-pre7 and 2.4.18-pre8 broke the Intuos part in
wacom.c
This will fix it.

--- linux/drivers/usb/wacom.c.org	Tue May 14 00:40:12 2002
+++ linux/drivers/usb/wacom.c	Tue May 14 00:41:31 2002
@@ -288,8 +288,8 @@
 	x = ((__u32)data[2] << 8) | data[3];
 	y = ((__u32)data[4] << 8) | data[5];

-	input_report_abs(dev, ABS_X, wacom->x);
-	input_report_abs(dev, ABS_Y, wacom->y);
+	input_report_abs(dev, ABS_X, wacom->x = x);
+	input_report_abs(dev, ABS_Y, wacom->y = y);
 	input_report_abs(dev, ABS_DISTANCE, data[9] >> 4);

 	if ((data[1] & 0xb8) == 0xa0) {						/* general pen packet */


Christer Nilsson



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-05-16 22:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-14  8:31 [PATCH] 2.4.19-pre8 Fix for Intuos tablet in wacom.c Christer Nilsson
2002-05-14 15:37 ` Greg KH
2002-05-14 18:56   ` Christer Nilsson
2002-05-15  2:46     ` Greg KH
2002-05-15  8:54       ` Christer Nilsson
2002-05-16 22:52         ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).