地面站终端 App
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dheideman 81256109c3 Update joystick mapping database 8 years ago
..
LICENSE SDL2: Add game controller mapping database file. 9 years ago
README.md SDL2: Add game controller mapping database file. 9 years ago
gamecontrollerdb.txt Update joystick mapping database 8 years ago
version.txt SDL2: Add game controller mapping database file. 9 years ago

README.md

##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: