Merge pull request #13313 from dback2/gamepadEnabled

Enable gamepad by default
This commit is contained in:
John Conklin II 2018-06-07 12:42:04 -07:00 committed by GitHub
commit 287fd67e67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ static_assert(
const char* SDL2Manager::NAME = "SDL2";
const char* SDL2Manager::SDL2_ID_STRING = "SDL2";
const bool DEFAULT_ENABLED = false;
const bool DEFAULT_ENABLED = true;
SDL_JoystickID SDL2Manager::getInstanceId(SDL_GameController* controller) {
SDL_Joystick* joystick = SDL_GameControllerGetJoystick(controller);