forked from mirror/openmw-tes3mp
Print detected game controllers to the log file
This commit is contained in:
parent
bdae572264
commit
a8c287c831
1 changed files with 2 additions and 1 deletions
|
@ -119,10 +119,11 @@ namespace MWInput
|
|||
SDL_ControllerDeviceEvent evt;
|
||||
evt.which = i;
|
||||
controllerAdded(mFakeDeviceID, evt);
|
||||
std::cout << "Detected game controller: " << SDL_GameControllerNameForIndex(i) << std::endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
//ICS_LOG(std::string("Unusable controller plugged in: ")+SDL_JoystickNameForIndex(i));
|
||||
std::cout << "Detected unusable controller: " << SDL_JoystickNameForIndex(i) << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue