Print detected game controllers to the log file

openmw-38
scrawl 9 years ago
parent bdae572264
commit a8c287c831

@ -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…
Cancel
Save