summaryrefslogtreecommitdiffstats
path: root/perl-install/harddrake/data.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/harddrake/data.pm')
-rw-r--r--perl-install/harddrake/data.pm15
1 files changed, 14 insertions, 1 deletions
diff --git a/perl-install/harddrake/data.pm b/perl-install/harddrake/data.pm
index 0e10a7403..f27c8d9a4 100644
--- a/perl-install/harddrake/data.pm
+++ b/perl-install/harddrake/data.pm
@@ -275,12 +275,25 @@ our @tree =
checked_on_boot => 0,
},
+
+
+ {
+ class => "GAMEPORT",
+ string =>
+ #-PO: these are joysticks controllers:
+ N("Game port controllers"),
+ icon => "joystick.png",
+ configurator => "",
+ detector => sub { f(modules::probe_category('multimedia/gameport')) },
+ checked_on_boot => 0,
+ },
+
{
class => "JOYSTICK",
string => N("Joystick"),
icon => "joystick.png",
configurator => "",
- detector => sub { f(grep { $_->{description} =~ /Joystick/ } @devices) },
+ detector => sub { f(modules::probe_category('multimedia/gameport')), f(grep { $_->{description} =~ /Joystick/ } @devices) },
checked_on_boot => 0,
},