diff options
author | Daniel Mack <daniel@caiaq.de> | 2010-07-12 19:28:27 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-07-19 11:54:16 +0200 |
commit | 3a343ee4509c982552b35fbc99d3213f3bb1acde (patch) | |
tree | a65aace9df737363bf437d8cef0cf9c9b7267121 /include/linux/hid.h | |
parent | fc99f22c5de2177431cada350417ac6e353380c7 (diff) | |
download | lwn-3a343ee4509c982552b35fbc99d3213f3bb1acde.tar.gz lwn-3a343ee4509c982552b35fbc99d3213f3bb1acde.zip |
HID: add HID_QUIRK_HIDINPUT_FORCE
For devices with exotic HID report descriptors, it might be necessary to
make the HID core force the registration of an input device. Make that
possible by introducing a new quirk type.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 895001f7f4b2..42a0f1d11365 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -311,6 +311,7 @@ struct hid_item { #define HID_QUIRK_HIDDEV_FORCE 0x00000010 #define HID_QUIRK_BADPAD 0x00000020 #define HID_QUIRK_MULTI_INPUT 0x00000040 +#define HID_QUIRK_HIDINPUT_FORCE 0x00000080 #define HID_QUIRK_SKIP_OUTPUT_REPORTS 0x00010000 #define HID_QUIRK_FULLSPEED_INTERVAL 0x10000000 #define HID_QUIRK_NO_INIT_REPORTS 0x20000000 |