THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
Load a set of mappings from a file, filtered by the current SDL_GetPlatform()
Defined in [SDL_gamecontroller.h](https://github.com/libsdl-org/SDL/blob/SDL2/include/SDL_gamecontroller.h), but apps should _only_ `#include "SDL.h"`!
#define SDL_GameControllerAddMappingsFromFile(file) SDL_GameControllerAddMappingsFromRW(SDL_RWFromFile(file, "rb"), 1)
Convenience macro.
"gamecontrollerdb.txt"); SDL_GameControllerAddMappingsFromFile(
CategoryAPI, CategoryAPIMacro, CategoryGameController, CategoryDraft