mirror of
https://github.com/XProger/OpenLara.git
synced 2025-01-17 21:09:00 +01:00
Load controller mappings from gamecontrollerdb.txt file (#328)
This commit is contained in:
parent
7beaddc39b
commit
e6229da94f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user