mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
974faac464
Microsoft's wireless desktop receiver (Model 1028) has a bug in the report descriptor -- namely, in four seperate places it uses USAGE_MIN and _MAX when it quite obviously doesn't intend to. In other words, it reports that it has pretty much _everything_ in 'consumer' and 'generic desktop'. And then the X evdev driver believes I have a mouse with 36 absolute axes and a huge pile of keys and buttons, when I in fact, should have zero. 255/256 in three of the cases, and 0-1024 in another. This patch fixes the report descriptor of this device before it enters the HID parser. Signed-off-by: Jim Duchek <jim.duchek@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> |
||
---|---|---|
.. | ||
usbhid | ||
hid-core.c | ||
hid-debug.c | ||
hid-input-quirks.c | ||
hid-input.c | ||
hidraw.c | ||
Kconfig | ||
Makefile |