diff --git a/source/input.cpp b/source/input.cpp index 0cd04a0..fd3a070 100644 --- a/source/input.cpp +++ b/source/input.cpp @@ -261,8 +261,11 @@ bool Input::discoverGameController() // Open the controller and add it to our list mGameController = SDL_GameControllerOpen(i); if (SDL_GameControllerGetAttached(mGameController) == 1) - //connectedControllers.push_back(pad); + //connectedControllers.push_back(pad); + { found = true; + printf("%s\n", SDL_GameControllerNameForIndex(i)); + } else std::cout << "SDL_GetError() = " << SDL_GetError() << std::endl; }