From 899e400bc1962be37655f6d61e54fcc0317e3188 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 19 May 2005 03:01:24 +0000 Subject: split the old joystick category into gameport (aka joystick controllers) and joystick (real joysticks devices) --- perl-install/harddrake/data.pm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'perl-install') 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, }, -- cgit v1.2.1