On my iBook, when I have gpm reading from /dev/input/mice in imps2
format, and repeating in ms3 format, scroll wheel events from my MS
"Wheel Mouse Optical USB" are *mostly* repeated correctly, except that
turning the wheel back and forth one notch seems to have no effect.
I fiddled around with strace, and discovered the following:
- A turn of the wheel 'down' will repeat as "@\0\0\1" normally, but if
it is moved down just after moving it up it repeats as "@\0\0\0"
instead. (In both cases, it's read "\10\0\0\1", so it's not the
kernel or mouse's problem.)
- A turn of the wheel 'up' will repeat as "@\0\0\17" normally, but if
it's preceeded by anything other than another 'wheel up', it repeats
as "@\0\0\0" instead. (In both cases, it's read "\10\0\0\377", so
it's not the kernel or mouse's problem.)
My first thought was that it was an attempt to "debounce" spurious
wheel movements, but since it didn't previously behave this way (and I
couldn't find anything in the changelog about such an added "feature")
I have come to doubt this hypothesis.
---- /etc/gpm.conf ---------------------------------------------------
device=/dev/input/mice
responsiveness=
repeat_type=ms3
type=imps2
append=""
sample_rate=
----------------------------------------------------------------------