]> Pileus Git - ~andy/linux/commitdiff
HID: let hid-input accept digitizers
authorStephane Chatty <chatty@lii-enac.fr>
Wed, 13 Jan 2010 20:52:34 +0000 (21:52 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 17 Jan 2010 22:10:01 +0000 (23:10 +0100)
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>
include/linux/hid.h

index 87093652dda8d00ee341132f40eb17d5b46171be..b978c1e2e74df870fd9f455e921fd466998307e1 100644 (file)
@@ -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 */