diff options
author | Adam Jackson <ajax@redhat.com> | 2008-03-14 11:15:01 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-03-14 11:15:01 -0400 |
commit | f77410e1f97d394e98c854fd174f712666b0544c (patch) | |
tree | 27c3744a302c0c88d6b2db5172bc392ebff7f1ba | |
parent | Filter out repeat events for mouse buttons. (diff) | |
download | xf86-input-evdev-f77410e1f97d394e98c854fd174f712666b0544c.tar.gz xf86-input-evdev-f77410e1f97d394e98c854fd174f712666b0544c.tar.bz2 xf86-input-evdev-f77410e1f97d394e98c854fd174f712666b0544c.zip |
Map REL_DIAL to REL_HWHEEL.
Some Microsoft mice have this wrong. And it seems like a sensible thing
to do anyway.
-rw-r--r-- | src/evdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c index f719647..c1f7bba 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -228,6 +228,7 @@ EvdevReadInput(InputInfoPtr pInfo) PostButtonClicks(pInfo, wheel_down_button, -value); break; + case REL_DIAL: case REL_HWHEEL: if (value > 0) PostButtonClicks(pInfo, wheel_right_button, value); |