diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-11-14 06:13:26 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2008-01-28 08:51:20 -0500 |
commit | af9e0eacdc072ba28fd139b90de27023d9cb0598 (patch) | |
tree | b93832415d5d19d76bb7348355978d4e0a04aedb /include/linux/hid.h | |
parent | 3ba5619f06300cd0944150901ed20de87483ad8c (diff) |
HID: add full support for Genius KB-29E
Genius KB-29E has broken report descriptor, which causes some of the
Consumer usages to appear incorrectly as Button usages. We fix it by
fixing the report descriptor before it is being parsed.
Also a few of the keys violate the HUT standard, so they need a special
handling. They currently fall into "Reserved" range as per HUT 1.12.
Reported-by: Szekeres Istvan <szekeres@iii.hu>
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 991bbcdc1ca7..c67eeb516040 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -292,6 +292,7 @@ struct hid_item { | |||
292 | #define HID_QUIRK_RDESC_SWAPPED_MIN_MAX 0x00000004 | 292 | #define HID_QUIRK_RDESC_SWAPPED_MIN_MAX 0x00000004 |
293 | #define HID_QUIRK_RDESC_PETALYNX 0x00000008 | 293 | #define HID_QUIRK_RDESC_PETALYNX 0x00000008 |
294 | #define HID_QUIRK_RDESC_MACBOOK_JIS 0x00000010 | 294 | #define HID_QUIRK_RDESC_MACBOOK_JIS 0x00000010 |
295 | #define HID_QUIRK_RDESC_BUTTON_CONSUMER 0x00000020 | ||
295 | 296 | ||
296 | /* | 297 | /* |
297 | * This is the global environment of the parser. This information is | 298 | * This is the global environment of the parser. This information is |