Browse Source

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>
Stephane Chatty 15 years ago
parent
commit
8b0e58a70a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/hid.h

+ 1 - 1
include/linux/hid.h

@@ -663,7 +663,7 @@ struct hid_ll_driver {
 
 
 /* Applications from HID Usage Tables 4/8/99 Version 1.1 */
 /* Applications from HID Usage Tables 4/8/99 Version 1.1 */
 /* We ignore a few input applications that are not widely used */
 /* 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 */
 /* HID core API */