If an optional "gamecontrollerdb.txt" file exists in the user directory, then SDL game controller mappings will be loaded from it. There is an officially endorsed community sourced database in https://github.com/gabomdq/SDL_GameControllerDB