Some of the mice we have have a broken boot protocol.
For some of them the wheel does not work, for others,
they stop sending anything after enough inactivity.
Dell mice are specially bad this way. This patch
tries to set up the mice properly using the hid report descriptor
and so on. Falls back to boot protocol if something does not work.
Just in case for now, added a -b to force boot protocol.
I have to find a mouse that does not work properly with this
patch, though.
-b is left undocumented for now, should probably disappear
once enough mice have been tried.
|