From 53c7ef8c808990a52d014561adcc3784ed50f79b Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 20 Sep 2007 18:40:49 +0000 Subject: - when using evdev for mice, ensure it doesn't match a keyboard (eg: in case of a mouse+keyboard combo) (#32905) --- lib/mouse.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/mouse.pm') 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 ] } -- cgit v1.2.1