diff options
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; |