]> git.baikalelectronics.ru Git - kernel.git/commit
HID: Add Holtek USB ID 04d9:a0c2 ETEKCITY Scroll
authorJohn DeSilva <desilvjo@umich.edu>
Fri, 5 Sep 2014 15:13:17 +0000 (11:13 -0400)
committerJiri Kosina <jkosina@suse.cz>
Mon, 8 Sep 2014 07:48:56 +0000 (09:48 +0200)
commitd85925c62fd365e0e96dc9b1021ae94a09197193
tree01a6fa2e47e03464e22aaa1d3179241bc03fc17f
parent91301f3bb2d72d06be69e48e80ba3fede7b0f919
HID: Add Holtek USB ID 04d9:a0c2 ETEKCITY Scroll

The report descriptor for the HOLTEK USB ID 04d9:a0c2 (ETEKCITY Scroll
T-140 Gaming Mouse) is set to a very large amount of consumer usages
(2^16), exceeding HID_MAX_USAGES. Added id, bindings and comments for
the mouse, added to hid_have_special_driver, and reduced the usage and
logical maximums to 0x2fff, consistent with the other mice in the
category. Tested on the hardware.

Signed-off-by: John C. DeSilva <desilvjo@umich.edu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-holtek-mouse.c
drivers/hid/hid-ids.h