diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-19 03:01:24 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-19 03:01:24 +0000 |
commit | 899e400bc1962be37655f6d61e54fcc0317e3188 (patch) | |
tree | 5a2d4256c45b1f601e41df5a545336778bfa69e4 /perl-install/harddrake | |
parent | 799442e9226213669a28af5fdc0a9c4ad1c7bce2 (diff) | |
download | drakx-899e400bc1962be37655f6d61e54fcc0317e3188.tar drakx-899e400bc1962be37655f6d61e54fcc0317e3188.tar.gz drakx-899e400bc1962be37655f6d61e54fcc0317e3188.tar.bz2 drakx-899e400bc1962be37655f6d61e54fcc0317e3188.tar.xz drakx-899e400bc1962be37655f6d61e54fcc0317e3188.zip |
split the old joystick category into gameport (aka joystick controllers) and
joystick (real joysticks devices)
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/data.pm | 15 |
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, }, |