Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

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.

  1. Drop the SDL_GameControllerDB next to the .love file, then
  2. SDL_GAMECONTROLLERCONFIG_FILE=gamecontrollerdb.txt love 'Metanet Hunter G4 (v1.2).love'