Input mostra també el numero de joysticks que ha trobat
This commit is contained in:
@@ -245,7 +245,15 @@ bool Input::discoverGameControllers()
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::cout << "\n** LOOKING FOR GAME CONTROLLERS" << std::endl;
|
std::cout << "\n** LOOKING FOR GAME CONTROLLERS" << std::endl;
|
||||||
std::cout << "Gamepads found: " << num_gamepads_ << std::endl;
|
if (num_joysticks_ != num_gamepads_)
|
||||||
|
{
|
||||||
|
std::cout << "Joysticks found: " << num_joysticks_ << std::endl;
|
||||||
|
std::cout << "Gamepads found : " << num_gamepads_ << std::endl;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
std::cout << "Gamepads found: " << num_gamepads_ << std::endl;
|
||||||
|
}
|
||||||
|
|
||||||
if (num_gamepads_ > 0)
|
if (num_gamepads_ > 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user