input: Retocados los mensajes de información

This commit is contained in:
2023-05-26 08:43:20 +02:00
parent 1746e38a56
commit 40701d9029

View File

@@ -224,16 +224,16 @@ bool Input::discoverGameController()
if (verbose) if (verbose)
{ {
cout << "\n** Checking game controllers" << endl;
if (nJoysticks > 0) if (nJoysticks > 0)
{ {
string stNumJoysticks = nJoysticks == 1 ? "joystick" : "joysticks"; string stNumJoysticks = nJoysticks == 1 ? "joystick" : "joysticks";
string stNumGamePads = numGamepads == 1 ? "is a gamepad" : "are gamepads"; string stNumGamePads = numGamepads == 1 ? "is a gamepad" : "are gamepads";
cout << "\n** Checking game controllers" << endl; cout << nJoysticks << " " << stNumJoysticks << " found (" << numGamepads << " " << stNumGamePads << ")" << endl;
cout << nJoysticks << " " << stNumJoysticks << " found (" << numGamepads << " " << stNumGamePads << ")\n";
} }
else else
{ {
cout << "\n>> No game controllers found\n"; cout << ">> No game controllers found" << endl;
} }
} }