1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-25 12:41:18 +00:00

Merge pull request from orbea/sdl2

sdl: Flush the joypad events.
This commit is contained in:
Twinaphex 2019-01-02 02:24:04 +01:00 committed by GitHub
commit 6f7e670609
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -399,6 +399,8 @@ static void sdl_joypad_poll(void)
break;
}
}
SDL_FlushEvents(SDL_JOYAXISMOTION, SDL_CONTROLLERDEVICEREMAPPED);
#else
SDL_JoystickUpdate();
#endif