diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-21 13:06:05 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-21 13:06:05 +0000 |
commit | bc5be8ae6923c0605df687918b35a77a735b1b35 (patch) | |
tree | e0ef212f86e1eb11a08f27cdba793aeca737889f /perl-install/mouse.pm | |
parent | bb5aeb1cde738a4ddb1fff00ea50093cb78e1337 (diff) | |
download | drakx-bc5be8ae6923c0605df687918b35a77a735b1b35.tar drakx-bc5be8ae6923c0605df687918b35a77a735b1b35.tar.gz drakx-bc5be8ae6923c0605df687918b35a77a735b1b35.tar.bz2 drakx-bc5be8ae6923c0605df687918b35a77a735b1b35.tar.xz drakx-bc5be8ae6923c0605df687918b35a77a735b1b35.zip |
no_comment
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r-- | perl-install/mouse.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index a1debd013..3366e0807 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -202,12 +202,18 @@ sub detect() { # find one whether or not I had one installed! So.. default to it. "busmouse|2 buttons"); } + + if ($::isStandalone) { + detect_devices::hasMousePS2("psaux") and return fullname2mouse("PS/2|Standard", unsafe => 1); + } #- probe serial device to make sure a wacom has been detected. eval { commands::modprobe("serial") }; my ($r, $wacom) = mouseconfig(); return ($r, $wacom) if $r; - detect_devices::hasMousePS2("psaux") and return fullname2mouse("PS/2|Standard", unsafe => 1), $wacom; + if (!$::isStandalone) { + detect_devices::hasMousePS2("psaux") and return fullname2mouse("PS/2|Standard", unsafe => 1), $wacom; + } if (modules::get_alias("usb-interface") && detect_devices::hasUsbMouse()) { eval { |