2013-11-27 17:20:34 -03:00
|
|
|
##SDL_GameControllerDB
|
|
|
|
|
|
|
|
|
|
|
|
A community source database of game controller bindings to be used with SDL2 Game Controller functionality.
|
|
|
|
|
|
|
|
####Usage:
|
|
|
|
|
|
|
|
Download gamecontrollerdb.txt, place it in your app's directory and load with:
|
|
|
|
|
|
|
|
```
|
|
|
|
SDL_GameControllerAddMappingsFromFile("gamecontrollerdb.txt");
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
####References:
|
|
|
|
|
|
|
|
* [SDL2](http://www.libsdl.org)
|
|
|
|
* [SDL_GameControllerAddMappingsFromFile](http://wiki.libsdl.org/SDL_GameControllerAddMappingsFromFile)
|