All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] Support for Stantum multitouch panel
@ 2009-12-09 21:49 Stephane Chatty
  0 siblings, 0 replies; only message in thread
From: Stephane Chatty @ 2009-12-09 21:49 UTC (permalink / raw)
  To: linux-input

Extended IS_INPUT_APPLICATION to accept digitzers that are actual input devices (touchscreens, 
light pens, touch pads, white boards)

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

diff -uprN a/include/linux/hid.h b/include/linux/hid.h
--- a/include/linux/hid.h	2009-12-03 04:51:21.000000000 +0100
+++ b/include/linux/hid.h	2009-12-08 22:30:46.000000000 +0100
@@ -662,7 +662,7 @@ struct hid_ll_driver {
 
 /* Applications from HID Usage Tables 4/8/99 Version 1.1 */
 /* We ignore a few input applications that are not widely used */
-#define IS_INPUT_APPLICATION(a) (((a >= 0x00010000) && (a <= 0x00010008)) || (a == 0x00010080) || (a == 0x000c0001) || (a == 0x000d0002))
+#define IS_INPUT_APPLICATION(a) (((a >= 0x00010000) && (a <= 0x00010008)) || (a == 0x00010080) || (a == 0x000c0001) || ((a >= 0x000d0002) && (a <= 0x000d0006)))
 
 /* HID core API */
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-09 21:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-09 21:49 [PATCH 1/2] Support for Stantum multitouch panel Stephane Chatty

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.