diff options
author | Stephane Chatty <chatty@lii-enac.fr> | 2010-01-13 21:52:34 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-01-17 23:10:01 +0100 |
commit | 8b0e58a70a7a41443c779de074288035b014cb94 (patch) | |
tree | c24a1882d723e73358ca2db7c22f9cdd8389f4dc /include/linux/hid.h | |
parent | 62e62da856dba2edb897b672cbd05a69edd4485c (diff) | |
download | linux-8b0e58a70a7a41443c779de074288035b014cb94.tar.gz linux-8b0e58a70a7a41443c779de074288035b014cb94.tar.bz2 linux-8b0e58a70a7a41443c779de074288035b014cb94.zip |
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.h | 2 |
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 */ |