summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-31 13:40:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-31 13:40:42 +0000
commitbb1ba670a8b075d2d5c12d2263d3b190e4f05b8d (patch)
treec24b0e1930b3a78790a4a49a7e2e3dd4027be0f7
parent558badd6e3eb531cbd6678ef76e948e5ec9c29c9 (diff)
downloaddrakx-backup-do-not-use-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.tar
drakx-backup-do-not-use-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.tar.gz
drakx-backup-do-not-use-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.tar.bz2
drakx-backup-do-not-use-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.tar.xz
drakx-backup-do-not-use-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.zip
(detect): cleanup the value returned when only a wacom is found
-rw-r--r--perl-install/mouse.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index e9f3df1c5..babaa31f0 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -310,11 +310,7 @@ sub detect() {
}
#- in case only a wacom has been found, assume an inexistant mouse (necessary).
- @wacom and return { CLASS => 'MOUSE',
- nbuttons => 2,
- device => "nothing",
- MOUSETYPE => "Microsoft",
- XMOUSETYPE => "Microsoft", wacom => \@wacom };
+ @wacom and return fullname2mouse('none|No mouse', wacom => \@wacom);
if (detect_devices::is_a_recent_computer() && $::isInstall) {
#- special case for non detected usb interface on a box with no mouse.