diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-01 13:30:12 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-01 13:30:12 +0000 |
commit | ee83605f8b5047acf407973feb0d987a97776248 (patch) | |
tree | c2b822260ab4ce9bc1486802bc51c5ee1b8f9fe2 /perl-install | |
parent | 4e008337de334e111955c23f8834d44565226536 (diff) | |
download | drakx-ee83605f8b5047acf407973feb0d987a97776248.tar drakx-ee83605f8b5047acf407973feb0d987a97776248.tar.gz drakx-ee83605f8b5047acf407973feb0d987a97776248.tar.bz2 drakx-ee83605f8b5047acf407973feb0d987a97776248.tar.xz drakx-ee83605f8b5047acf407973feb0d987a97776248.zip |
configure wacom devices with synaptics touchpads too
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/mouse.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index 822fe5a38..0f653eb56 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -298,10 +298,10 @@ sub detect { } my $univ_mouse = fullname2mouse('Universal|Any PS/2 & USB mice', wacom => \@wacom); if (my $synaptics_name = find { m!^N: Name="(?:SynPS/2 Synaptics TouchPad|AlpsPS/2 ALPS TouchPad)"$! } @input_devices) { - $synaptics_mouse = fullname2mouse('Universal|Synaptics Touchpad'); + $synaptics_mouse = fullname2mouse('Universal|Synaptics Touchpad', if_($mouse_nb == 1, wacom => \@wacom)); $synaptics_mouse->{ALPS} = $synaptics_name =~ /ALPS/; $::isInstall and $synaptics_mouse->{alternate_install} = $univ_mouse; #- do not try to use synpatics at beginning of install - $mouse_nb < 2 and return $synaptics_mouse; + $mouse_nb == 1 and return $synaptics_mouse; $univ_mouse->{auxmouse} = $synaptics_mouse; } return $univ_mouse; |