diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-03-11 06:43:27 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-03-30 09:12:54 -0400 |
commit | 794227415f8f5f395a9ed4269a4ee7a3c34f66a5 (patch) | |
tree | 9c0a7f22ceb0c2b940eb80d33b5f792e70dd48a9 /drivers/hid/hid-dummy.c | |
parent | fef3f571ecc2a82395c531d97b3f71a59e04e946 (diff) |
HID: add support for Kye/Genius Ergo 525V
This device sends several buttons in a separate field, which is
wrongly described in the report descriptor. Fix it in the following
way:
- change led usage page to button
- report size 8 count 1 becomes report size 1 count 8
- the button usage range changed to 4-7 (the mouse has three buttons in
a different field already).
Reported-by: Tomas Hanak <tomas.hanak@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-dummy.c')
-rw-r--r-- | drivers/hid/hid-dummy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-dummy.c b/drivers/hid/hid-dummy.c index 28815fd6c285..74d765f38624 100644 --- a/drivers/hid/hid-dummy.c +++ b/drivers/hid/hid-dummy.c | |||
@@ -34,6 +34,9 @@ static int __init hid_dummy_init(void) | |||
34 | #ifdef CONFIG_HID_EZKEY_MODULE | 34 | #ifdef CONFIG_HID_EZKEY_MODULE |
35 | HID_COMPAT_CALL_DRIVER(ezkey); | 35 | HID_COMPAT_CALL_DRIVER(ezkey); |
36 | #endif | 36 | #endif |
37 | #ifdef CONFIG_HID_KYE_MODULE | ||
38 | HID_COMPAT_CALL_DRIVER(kye); | ||
39 | #endif | ||
37 | #ifdef CONFIG_HID_GYRATION_MODULE | 40 | #ifdef CONFIG_HID_GYRATION_MODULE |
38 | HID_COMPAT_CALL_DRIVER(gyration); | 41 | HID_COMPAT_CALL_DRIVER(gyration); |
39 | #endif | 42 | #endif |