summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-18 18:48:19 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-18 18:48:19 +0000
commita385f021f8fc6f46cdd9169c94a13d08ce011504 (patch)
tree0787c34085aa32050455c37b5eb66448a5008e6e /perl-install/mouse.pm
parent898cbd3ba14d07a3bb8121b397926277a0f30366 (diff)
downloaddrakx-backup-do-not-use-a385f021f8fc6f46cdd9169c94a13d08ce011504.tar
drakx-backup-do-not-use-a385f021f8fc6f46cdd9169c94a13d08ce011504.tar.gz
drakx-backup-do-not-use-a385f021f8fc6f46cdd9169c94a13d08ce011504.tar.bz2
drakx-backup-do-not-use-a385f021f8fc6f46cdd9169c94a13d08ce011504.tar.xz
drakx-backup-do-not-use-a385f021f8fc6f46cdd9169c94a13d08ce011504.zip
always configure an universal mouse so that USB mices can be hotplugged
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm5
1 files changed, 3 insertions, 2 deletions
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;