Adds controllermap utility to test suite.
This commit is contained in:
parent
64ff6df0b8
commit
9054b03edb
8 changed files with 445 additions and 1 deletions
|
@ -225,6 +225,8 @@ main(int argc, char *argv[])
|
|||
SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't initialize SDL: %s\n", SDL_GetError());
|
||||
return 1;
|
||||
}
|
||||
|
||||
SDL_GameControllerAddMappingsFromFile("gamecontrollerdb.txt");
|
||||
|
||||
/* Print information about the controller */
|
||||
for (i = 0; i < SDL_NumJoysticks(); ++i) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue