diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-04-13 23:27:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-04-13 23:27:43 +0000 |
commit | 3f3ced984833bf1084447c1afd3cfc7d17d0838b (patch) | |
tree | d1c9b1884efe353b3fa5a165ca7f601dfa8c6ff5 /perl-install/mouse.pm | |
parent | 21afb921cd71327cae09ec568f11e6f020a93229 (diff) | |
download | drakx-3f3ced984833bf1084447c1afd3cfc7d17d0838b.tar drakx-3f3ced984833bf1084447c1afd3cfc7d17d0838b.tar.gz drakx-3f3ced984833bf1084447c1afd3cfc7d17d0838b.tar.bz2 drakx-3f3ced984833bf1084447c1afd3cfc7d17d0838b.tar.xz drakx-3f3ced984833bf1084447c1afd3cfc7d17d0838b.zip |
no_comment
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r-- | perl-install/mouse.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index 1239ae99f..9443329ae 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -134,7 +134,7 @@ sub detect() { return name2mouse("Apple ADB Mouse"); } - detect_devices::hasMousePS2 and return name2mouse("Generic Mouse (PS/2)"); + detect_devices::hasMousePS2 and return { unsafe => 1, %{name2mouse("Generic Mouse (PS/2)")} }; eval { commands::modprobe("serial") }; my ($r, $wacom) = mouseconfig(); return ($r, $wacom) if $r; @@ -159,5 +159,5 @@ sub detect() { } #- defaults to generic ttyS0 - add2hash({ device => "ttyS0", unsafe => 1 }, name2mouse("Generic Mouse (serial)")); + { device => "ttyS0", unsafe => 1, %{name2mouse("Generic Mouse (serial)")} }; } |