diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-01-31 13:40:42 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-01-31 13:40:42 +0000 |
commit | bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d (patch) | |
tree | c24b0e1930b3a78790a4a49a7e2e3dd4027be0f7 /perl-install/mouse.pm | |
parent | 558badd6e3eb531cbd6678ef76e948e5ec9c29c9 (diff) | |
download | drakx-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.tar drakx-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.tar.gz drakx-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.tar.bz2 drakx-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.tar.xz drakx-bb1ba670a8b075d2d5c12d2263d3b190e4f05b8d.zip |
(detect): cleanup the value returned when only a wacom is found
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r-- | perl-install/mouse.pm | 6 |
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. |