No description
Find a file
2016-10-10 22:24:11 +02:00
.travis.yml Add check script and integrate Travis CI 2016-07-06 04:20:11 +05:30
check.py Add check script and integrate Travis CI 2016-07-06 04:20:11 +05:30
gamecontrollerdb.txt Speedlink TORID Wireless Gamepad Linux mapping 2016-10-10 22:24:11 +02:00
LICENSE Initial commit 2013-11-27 17:20:34 -03:00
README.md Fix Travis URL and Saitek P880 mapping 2016-07-29 10:46:24 -03:00

##SDL_GameControllerDB

Build Status

A community source database of game controller mappings 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");

####Creating new mappings:

To create new mappings, you can use the controllermap utility provided with SDL2, or using Steam's Big Picture mode, configure your joystick and then look in config/config.vdf in your Steam installation directory for the SDL_GamepadBind entry.

####Checking your mappings: You need to have python3 installed. Run

python3 check.py gamecontrollerdb.txt

####References: