summaryrefslogtreecommitdiffstats
path: root/lib/Xconfig/xfree.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/Xconfig/xfree.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/Xconfig/xfree.pm')
-rw-r--r--lib/Xconfig/xfree.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Xconfig/xfree.pm b/lib/Xconfig/xfree.pm
index 5c3f5bc..c6b3e28 100644
--- a/lib/Xconfig/xfree.pm
+++ b/lib/Xconfig/xfree.pm
@@ -136,8 +136,8 @@ sub _new_keyboard_section {
# mouse ########################################################################
################################################################################
#- example mouse: { Protocol => 'IMPS/2', Device => '/dev/psaux', Emulate3Buttons => undef, Emulate3Timeout => 50, ZAxisMapping => [ '4 5', '6 7' ] }
-#- example evdev: { vendor => '0x045e', product => '0x008c' }
-my @mouse_fields = qw(Protocol Device ZAxisMapping Emulate3Buttons Emulate3Timeout vendor product); #-);
+#- example evdev: { bustype => '0x0003', vendor => '0x045e', product => '0x008c' }
+my @mouse_fields = qw(Protocol Device ZAxisMapping Emulate3Buttons Emulate3Timeout bustype vendor product); #-);
sub get_mice {
my ($raw_X) = @_;
my @raw_mice = $raw_X->get_Sections('InputDevice', \&_is_mouse);