summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-03-14 11:15:01 -0400
committerAdam Jackson <ajax@redhat.com>2008-03-14 11:15:01 -0400
commitf77410e1f97d394e98c854fd174f712666b0544c (patch)
tree27c3744a302c0c88d6b2db5172bc392ebff7f1ba
parentd28c2e1efba9fd3e79d9dfecf23cdbded30b93f5 (diff)
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.c1
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);