From a385f021f8fc6f46cdd9169c94a13d08ce011504 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 18 Apr 2005 18:48:19 +0000 Subject: always configure an universal mouse so that USB mices can be hotplugged --- perl-install/mouse.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'perl-install/mouse.pm') diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index e1cc1bcf8..e6478de07 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -300,8 +300,9 @@ sub detect { if (my $synaptics_name = find { m!^N: Name="(?:SynPS/2 Synaptics TouchPad|AlpsPS/2 ALPS TouchPad)"$! } @input_devices) { $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 == 1 and return $synaptics_mouse; + #- do not try to use synpatics at beginning of install + $::isInstall and $synaptics_mouse->{alternate_install} = $univ_mouse; + #- always configure an universal mouse so that USB mices can be hotplugged $univ_mouse->{auxmouse} = $synaptics_mouse; } return $univ_mouse; -- cgit v1.2.1