summaryrefslogtreecommitdiff
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorStephane Chatty <chatty@lii-enac.fr>2010-01-13 23:52:34 +0300
committerJiri Kosina <jkosina@suse.cz>2010-01-18 01:10:01 +0300
commit8b0e58a70a7a41443c779de074288035b014cb94 (patch)
treec24a1882d723e73358ca2db7c22f9cdd8389f4dc /include/linux/hid.h
parent62e62da856dba2edb897b672cbd05a69edd4485c (diff)
downloadlinux-8b0e58a70a7a41443c779de074288035b014cb94.tar.xz
HID: let hid-input accept digitizers
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> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 87093652dda8..b978c1e2e74d 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -663,7 +663,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 */