diff options
author | Gabriel Jacobo <gabomdq@gmail.com> | 2013-12-02 19:35:04 -0300 |
---|---|---|
committer | Gabriel Jacobo <gabomdq@gmail.com> | 2013-12-02 19:35:04 -0300 |
commit | a0af4271a0c544be100b1fe7268ddc8e61d80b92 (patch) | |
tree | 59fe67c2e18420c2d00f4fb1477805b3dd8d462c /test/testgamecontroller.c | |
parent | 0386a9d0337a86dabf6df8472707f03376514a5f (diff) |
Adds controllermap utility to test suite.
Diffstat (limited to 'test/testgamecontroller.c')
-rw-r--r-- | test/testgamecontroller.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testgamecontroller.c b/test/testgamecontroller.c index cbdf8c3b14..3d9101ab30 100644 --- a/test/testgamecontroller.c +++ b/test/testgamecontroller.c @@ -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) { |