That will be great, thanks!
I’ve been chatting about loadGamepadMappings with some people on the SDL forums and I learned about the environment variable SDL_GAMECONTROLLERCONFIG_FILE
. A user can set that variable instead of patching the game like I suggested above. This works for any LOVE or SDL game, super handy.
- Drop the SDL_GameControllerDB next to the .love file, then
SDL_GAMECONTROLLERCONFIG_FILE=gamecontrollerdb.txt love 'Metanet Hunter G4 (v1.2).love'