summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-dummy.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2009-03-11 11:43:27 +0100
committerJiri Kosina <jkosina@suse.cz>2009-03-30 15:12:54 +0200
commit794227415f8f5f395a9ed4269a4ee7a3c34f66a5 (patch)
tree9c0a7f22ceb0c2b940eb80d33b5f792e70dd48a9 /drivers/hid/hid-dummy.c
parentfef3f571ecc2a82395c531d97b3f71a59e04e946 (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.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-dummy.c b/drivers/hid/hid-dummy.c
index 28815fd6c28..74d765f3862 100644
--- a/drivers/hid/hid-dummy.c
+++ b/drivers/hid/hid-dummy.c
@@ -34,6 +34,9 @@ static int __init hid_dummy_init(void)
#ifdef CONFIG_HID_EZKEY_MODULE
HID_COMPAT_CALL_DRIVER(ezkey);
#endif
+#ifdef CONFIG_HID_KYE_MODULE
+ HID_COMPAT_CALL_DRIVER(kye);
+#endif
#ifdef CONFIG_HID_GYRATION_MODULE
HID_COMPAT_CALL_DRIVER(gyration);
#endif