summaryrefslogtreecommitdiffstats
path: root/lib/mouse.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-19 13:43:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-19 13:43:42 +0000
commit642f17edcc82e5aa76216d4eafbb6d5c543ceb96 (patch)
treef775b5827bd346b598a4f23f25945aed8c0227d9 /lib/mouse.pm
parentedb32ed59276870bafe9a25e986d192773126163 (diff)
downloaddrakx-kbd-mouse-x11-642f17edcc82e5aa76216d4eafbb6d5c543ceb96.tar
drakx-kbd-mouse-x11-642f17edcc82e5aa76216d4eafbb6d5c543ceb96.tar.gz
drakx-kbd-mouse-x11-642f17edcc82e5aa76216d4eafbb6d5c543ceb96.tar.bz2
drakx-kbd-mouse-x11-642f17edcc82e5aa76216d4eafbb6d5c543ceb96.tar.xz
drakx-kbd-mouse-x11-642f17edcc82e5aa76216d4eafbb6d5c543ceb96.zip
- for evdev configured mice, specify bustype
(useful for "Macintosh mouse button emulation" which has same vendor/product as "AT Translated Set 2 keyboard") (need drakxtools-backend 10.4.203)
Diffstat (limited to 'lib/mouse.pm')
-rw-r--r--lib/mouse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm
index f57ddad..0eef408 100644
--- a/lib/mouse.pm
+++ b/lib/mouse.pm
@@ -289,7 +289,7 @@ 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)
- { vendor => "0x$_->{vendor}", product => "0x$_->{id}", HWheelRelativeAxisButtons => "7 6" };
+ { bustype => "0x$_->{bustype}", vendor => "0x$_->{vendor}", product => "0x$_->{id}", HWheelRelativeAxisButtons => "7 6" };
} @mice ]
}