summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-26 11:52:41 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-26 11:52:41 +0000
commitfff0fecf10c98f77bdefcea0254fe2f03f8b1c34 (patch)
tree7e90e1681503b41571e286b28e6b54010c64f738 /perl-install/mouse.pm
parent2217db2d8f69a6800b63756da7b49e85388ca593 (diff)
downloaddrakx-fff0fecf10c98f77bdefcea0254fe2f03f8b1c34.tar
drakx-fff0fecf10c98f77bdefcea0254fe2f03f8b1c34.tar.gz
drakx-fff0fecf10c98f77bdefcea0254fe2f03f8b1c34.tar.bz2
drakx-fff0fecf10c98f77bdefcea0254fe2f03f8b1c34.tar.xz
drakx-fff0fecf10c98f77bdefcea0254fe2f03f8b1c34.zip
define and use $o->{mouse}{alternate_install} if detected mouse can't be used during install
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 55067cad6..84714e2db 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -292,8 +292,8 @@ sub detect {
my $synaptics_mouse;
if (my $mouse_nb = grep { /^H: Handlers=mouse/ } @input_devices) {
my $univ_mouse = fullname2mouse('Universal|Any PS/2 & USB mice', wacom => \@wacom);
- $::isInstall && !$::o->{mouse} and return $univ_mouse; #- don't try to use synpatics at beginning of install
if (any { m!^N: Name="(?:SynPS/2 Synaptics TouchPad|AlpsPS/2 ALPS TouchPad)"$! } @input_devices) {
+ $::isInstall && $synaptics->{alternate_install} = $univ_mouse; #- don't try to use synpatics at beginning of install
$synaptics_mouse = fullname2mouse('PS/2|Synaptics Touchpad');
$mouse_nb < 2 and return $synaptics_mouse;
$univ_mouse->{auxmouse} = $synaptics_mouse;