Added firestorm gamepad to --type option

This commit is contained in:
Ingo Ruhnke 2009-01-21 07:42:42 +01:00
parent 97fd91a9ab
commit fc4745f4d2

View file

@ -578,6 +578,10 @@ void parse_command_line(int argc, char** argv, CommandLineOptions& opts)
{
opts.gamepad_type = GAMEPAD_XBOX360_WIRELESS;
}
else if (strcmp(argv[i], "firestorm") == 0)
{
opts.gamepad_type = GAMEPAD_FIRESTORM;
}
else
{
std::cout << "Error: unknown type: " << argv[i] << std::endl;
@ -587,6 +591,7 @@ void parse_command_line(int argc, char** argv, CommandLineOptions& opts)
std::cout << " * xbox360" << std::endl;
std::cout << " * xbox360-guitar" << std::endl;
std::cout << " * xbox360-wireless" << std::endl;
std::cout << " * firestorm" << std::endl;
exit(EXIT_FAILURE);
}
}