input: Retocados los mensajes de información
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user