mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03:00
Load gamecontrollerdb.txt if available
This commit is contained in:
@@ -98,6 +98,13 @@ int FILESYSTEM_init(char *argvZero)
|
||||
);
|
||||
return 0;
|
||||
}
|
||||
|
||||
strcpy(output, PHYSFS_getBaseDir());
|
||||
strcpy(output, "gamecontrollerdb.txt");
|
||||
if (SDL_GameControllerAddMappingsFromFile(output) < 0)
|
||||
{
|
||||
printf("gamecontrollerdb.txt not found!\n");
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user