mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-01 10:50:35 +02:00
Load controller mappings from gamecontrollerdb.txt file (#328)
This commit is contained in:
@@ -462,7 +462,7 @@ void inputUpdate() {
|
||||
int main(int argc, char **argv) {
|
||||
|
||||
int w, h;
|
||||
|
||||
SDL_GameControllerAddMappingsFromFile("gamecontrollerdb.txt");
|
||||
SDL_Init(SDL_INIT_VIDEO|SDL_INIT_AUDIO|SDL_INIT_EVENTS|SDL_INIT_GAMECONTROLLER);
|
||||
|
||||
SDL_GetCurrentDisplayMode(0, &sdl_displaymode);
|
||||
|
Reference in New Issue
Block a user