]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/hid/hid-ids.h
HID: Add support for Holtek gaming mouse 04d9:a04a
authorChristian Ohm <chr.ohm@gmx.net>
Mon, 20 May 2013 23:31:09 +0000 (01:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 May 2013 10:15:56 +0000 (12:15 +0200)
commitd4f5189052c68f5bae3aac62b357577ecb862fee
tree2d732da5906ea1cf135b2eb0a3034c326d902177
parent41de326eafa6eff71c6ca00ae27c6be235c65a6d
HID: Add support for Holtek gaming mouse 04d9:a04a

This mouse is sold as Tracer Sniper TRM-503, NOVA Gaming Slider X200 and
Zalman ZM-GM1, and reports too high usage maximum and logical maximum
(like 04d9:a067, but its report descriptor is different). This patch
adds its USB ID and fixes the report descriptor in the same way.

Note: I don't actually have such a mouse to test, I took the report
descriptor posted at https://bugzilla.novell.com/show_bug.cgi?id=774676,
compared it to the one from 04d9:a067 and changed the offsets
accordingly (all numbers minus 9, since it is 9 bytes shorter, and the
difference is before the values that need changing). That Surely Works™.

Signed-off-by: Christian Ohm <chr.ohm@gmx.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-holtek-mouse.c
drivers/hid/hid-ids.h