Before checking with SDL_IsGameController(), it makes sense to see if there is an updated database in the current directory. Traditionally this is called "gamecontrollerdb.txt". You can load it automatically (and ignore it if it is missing) by adding this line:
Before checking with SDL_IsGameController(), it makes sense to see if there is an updated database in the current directory. Traditionally this is called "gamecontrollerdb.txt". You can load it automatically (and ignore it if it is missing) by adding this line: