From 6055e07481f408fae2bcb60b5245e2393bc3c722 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 12 May 2005 05:59:14 +0000 Subject: (getUPS) fix detecting Wingman gamepad as UPS (#15750) --- perl-install/detect_devices.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index cb3fe07f9..ba18b4606 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -600,7 +600,7 @@ sub getNet() { #} sub getUPS() { - my @usb_devices = map { ($_->{name} = $_->{description}) =~ s/.*\|//; $_ } grep { $_->{description} !~ /Joystick|IR Combo Device/ } usb_probe(); + my @usb_devices = map { ($_->{name} = $_->{description}) =~ s/.*\|//; $_ } grep { $_->{description} !~ /GamePad|IR Combo Device|Joystick/ } usb_probe(); # MGE serial PnP devices: (map { -- cgit v1.2.1