No description
Find a file
hackerb9 379d67c41b Added Raphnet.net's amazing 4NES4SNES which allows you to plug in up
to four original Nintendo Famicom or Super Nintendo controllers and
convert them to USB. Arduino source code is available at raphnet.net.

Note that this mapping was generated by the SDL controllermap program,
which is based on the physical location of the buttons. However, the
labels for the buttons on a SNES gamepad swaps A with B, and X with Y.
(Relative to, I assume, an XBOX controller.)
2017-10-14 22:51:30 -04:00
.gitignore git : Add gitignore. 2017-10-14 22:51:29 -04:00
.travis.yml Update travis. 2017-10-14 22:51:29 -04:00
check.py check.py : Removed exclamation from success message. Lets not get too crazy alright. 2017-10-14 22:51:29 -04:00
gamecontrollerdb.txt Added Raphnet.net's amazing 4NES4SNES which allows you to plug in up 2017-10-14 22:51:30 -04:00
LICENSE Initial commit 2013-11-27 17:20:34 -03:00
README.md Update README.md 2017-10-14 22:51:29 -04: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: