summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-input-quirks.c
diff options
context:
space:
mode:
authorJim Duchek <jim.duchek@gmail.com>2008-03-14 17:53:49 +0300
committerJiri Kosina <jkosina@suse.cz>2008-04-22 13:34:57 +0400
commit974faac46455076c709a745f546b348017ad18dc (patch)
tree8c1297b5025b3af54308176870adfe561ea2f422 /drivers/hid/hid-input-quirks.c
parentf345c37c37641beceb0e52f61bb4cbc72904ee09 (diff)
downloadlinux-974faac46455076c709a745f546b348017ad18dc.tar.xz
HID: quirk for MS Wireless Desktop Receiver (model 1028)
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>
Diffstat (limited to 'drivers/hid/hid-input-quirks.c')
0 files changed, 0 insertions, 0 deletions