summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-03-23 16:46:13 +0000
committerFrancois Pons <fpons@mandriva.com>2001-03-23 16:46:13 +0000
commit49a30a0dab8208e578e7e1b74a8a7a38c89a261d (patch)
treef16a60338eab52349655b2852bc79077560067e2 /perl-install/detect_devices.pm
parent55588554b612a7a951aa22165c7381e81f3ce4a0 (diff)
downloaddrakx-backup-do-not-use-49a30a0dab8208e578e7e1b74a8a7a38c89a261d.tar
drakx-backup-do-not-use-49a30a0dab8208e578e7e1b74a8a7a38c89a261d.tar.gz
drakx-backup-do-not-use-49a30a0dab8208e578e7e1b74a8a7a38c89a261d.tar.bz2
drakx-backup-do-not-use-49a30a0dab8208e578e7e1b74a8a7a38c89a261d.tar.xz
drakx-backup-do-not-use-49a30a0dab8208e578e7e1b74a8a7a38c89a261d.zip
added multiple tablet support (wacom), moved usb probe for mouse and tablet
at the beginning.
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index dc623da68..a4bda9cb5 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -273,7 +273,8 @@ sub whatParport() {
@res;
}
-sub usbMice { grep { $_->{type} =~ /\|Mouse/ } usb_probe() }
+sub usbMice { grep { $_->{type} =~ /\|Mouse/ && $_->{driver} !~ /Tablet:wacom/} usb_probe() }
+sub usbWacom { grep { $_->{driver} =~ /Tablet:wacom/ } usb_probe() }
sub usbKeyboards { grep { $_->{type} =~ /\|Keyboard/ } usb_probe() }
sub usbZips { grep { $_->{type} =~ /Mass Storage\|/ } usb_probe() }