HID: add support for Kye/Genius Ergo 525V
authorJiri Kosina <jkosina@suse.cz>
Wed, 11 Mar 2009 10:43:27 +0000 (11:43 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 30 Mar 2009 13:12:54 +0000 (15:12 +0200)
commit794227415f8f5f395a9ed4269a4ee7a3c34f66a5
tree9c0a7f22ceb0c2b940eb80d33b5f792e70dd48a9
parentfef3f571ecc2a82395c531d97b3f71a59e04e946
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>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-dummy.c
drivers/hid/hid-ids.h
drivers/hid/hid-kye.c [new file with mode: 0644]