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)
commit5df4eb054fe056ecb15875e812fdadbc47568d7d
tree01a6fa2e47e03464e22aaa1d3179241bc03fc17f
parent643727a92e92efd657fbbbe70b3c35a49e537010
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