diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-04-18 19:35:16 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-04-18 19:35:16 +0000 |
commit | f25f3075bd580a8065d1ec2827c3968fb3066efd (patch) | |
tree | 9014b4b3a9db38d8aec649a46edc65477045759d /perl-install/detect_devices.pm | |
parent | a385f021f8fc6f46cdd9169c94a13d08ce011504 (diff) | |
download | drakx-f25f3075bd580a8065d1ec2827c3968fb3066efd.tar drakx-f25f3075bd580a8065d1ec2827c3968fb3066efd.tar.gz drakx-f25f3075bd580a8065d1ec2827c3968fb3066efd.tar.bz2 drakx-f25f3075bd580a8065d1ec2827c3968fb3066efd.tar.xz drakx-f25f3075bd580a8065d1ec2827c3968fb3066efd.zip |
add getSynapticsTouchpads()
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 6 |
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 || {}; |