linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Fixed bug in single-touch emulation on the Stantum panel
@ 2010-02-06 14:19 Stephane Chatty
  2010-02-09 10:27 ` Jiri Kosina
  2010-02-09 15:34 ` Jiri Kosina
  0 siblings, 2 replies; 7+ messages in thread
From: Stephane Chatty @ 2010-02-06 14:19 UTC (permalink / raw)
  To: jkosina, linux-input; +Cc: chatty


Fixed bug in touchscreen emulation for the Stantum multitouch panel

Signed-off-by: Stephane Chatty <chatty@enac.fr>

diff -rupN a/drivers/hid/hid-stantum.c b/drivers/hid/hid-stantum.c
--- a/drivers/hid/hid-stantum.c	2010-02-06 14:59:57.000000000 +0100
+++ b/drivers/hid/hid-stantum.c	2010-02-06 15:00:36.000000000 +0100
@@ -16,7 +16,7 @@
 #include <linux/hid.h>
 #include <linux/module.h>
 
-MODULE_VERSION("1.00");
+MODULE_VERSION("1.01");
 MODULE_AUTHOR("Stephane Chatty <chatty@enac.fr>");
 MODULE_DESCRIPTION("Stantum HID multitouch panels");
 MODULE_LICENSE("GPL");
@@ -147,7 +147,6 @@ static void stantum_filter_event(struct 
 
 	input_mt_sync(input);
 	sd->valid = false;
-	sd->first = false;
 
 	/* touchscreen emulation */
 	if (sd->first) {
@@ -158,6 +157,7 @@ static void stantum_filter_event(struct 
 		input_event(input, EV_ABS, ABS_X, sd->x);
 		input_event(input, EV_ABS, ABS_Y, sd->y);
 	}
+	sd->first = false;
 }
 
 

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

end of thread, other threads:[~2010-02-10 11:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-06 14:19 [PATCH] Fixed bug in single-touch emulation on the Stantum panel Stephane Chatty
2010-02-09 10:27 ` Jiri Kosina
2010-02-09 14:59   ` Stéphane Chatty
2010-02-09 19:49     ` Dmitry Torokhov
2010-02-09 15:34 ` Jiri Kosina
2010-02-09 17:05   ` Stéphane Chatty
2010-02-10 11:04     ` Jiri Kosina

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).