summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-04-18 19:35:16 +0000
committerOlivier Blin <oblin@mandriva.org>2005-04-18 19:35:16 +0000
commitf25f3075bd580a8065d1ec2827c3968fb3066efd (patch)
tree9014b4b3a9db38d8aec649a46edc65477045759d /perl-install/detect_devices.pm
parenta385f021f8fc6f46cdd9169c94a13d08ce011504 (diff)
downloaddrakx-backup-do-not-use-f25f3075bd580a8065d1ec2827c3968fb3066efd.tar
drakx-backup-do-not-use-f25f3075bd580a8065d1ec2827c3968fb3066efd.tar.gz
drakx-backup-do-not-use-f25f3075bd580a8065d1ec2827c3968fb3066efd.tar.bz2
drakx-backup-do-not-use-f25f3075bd580a8065d1ec2827c3968fb3066efd.tar.xz
drakx-backup-do-not-use-f25f3075bd580a8065d1ec2827c3968fb3066efd.zip
add getSynapticsTouchpads()
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index f2c05bf4f..f1622fcad 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -470,6 +470,12 @@ sub getInputDevices() {
@devices;
}
+sub getSynapticsTouchpads() {
+ grep {
+ member($_->{description}, "|SynPS/2 Synaptics TouchPad", "|AlpsPS/2 ALPS TouchPad")
+ } getInputDevices();
+}
+
sub getSerialModem {
my ($modules_conf, $o_mouse) = @_;
my $mouse = $o_mouse || {};