From e9c6665ac3bd856e38bca0685bf5b8ee34997977 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Sat, 6 Nov 1999 10:33:38 +0000 Subject: no_comment --- perl-install/detect_devices.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'perl-install/detect_devices.pm') diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index d932b4922..8bee5e612 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -218,6 +218,12 @@ sub hasModem($) { $probe{CLASS} =~ /Modem/i && $probe{DESCRIPTION}; } +sub hasMousePS2() { + my $f = detect_devices::tryOpen("psaux"); + my $t; sysread($f, $t, 256) or return; + $t eq "\xFE"; +} + #-###################################################################################### #- Wonderful perl :( #-###################################################################################### -- cgit v1.2.1