diff --git a/src/Game.cpp b/src/Game.cpp index 73939b1..30e3880 100644 --- a/src/Game.cpp +++ b/src/Game.cpp @@ -98,7 +98,7 @@ Game::Game() sb::Log::log(log_message); /* allows use of our own main function (?) see SDL_SetMainReady.html */ SDL_SetMainReady(); - if (SDL_Init(SDL_INIT_VIDEO) < 0) + if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_GAMECONTROLLER) < 0) { sb::Log::sdl_error("SDL could not initialize"); flag_to_end();