Skip to content
Commit 974faac4 authored by Jim Duchek's avatar Jim Duchek Committed by Jiri Kosina
Browse files

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: default avatarJim Duchek <jim.duchek@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent f345c37c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment