summaryrefslogtreecommitdiffstats
path: root/lib/mouse.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mouse.pm')
-rw-r--r--lib/mouse.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm
index 0eef408..3afcca0 100644
--- a/lib/mouse.pm
+++ b/lib/mouse.pm
@@ -289,7 +289,8 @@ sub mice2evdev {
#- we always use HWheelRelativeAxisButtons for evdev, it tells mice with no horizontal wheel to skip those buttons
#- that way we ensure 6 & 7 is always horizontal wheel
#- (cf patch skip-HWheelRelativeAxisButtons-even-if-unused in x11-driver-input-evdev)
- { bustype => "0x$_->{bustype}", vendor => "0x$_->{vendor}", product => "0x$_->{id}", HWheelRelativeAxisButtons => "7 6" };
+ { bustype => "0x$_->{bustype}", vendor => "0x$_->{vendor}", product => "0x$_->{id}",
+ relBits => "+0+1+2", HWheelRelativeAxisButtons => "7 6" };
} @mice ]
}