mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
sdl: enable SDL_HINT_JOYSTICK_THREAD
fixes window message pumping
This commit is contained in:
parent
655fb94e61
commit
ddf83462ac
@ -159,6 +159,11 @@ void Init()
|
|||||||
|
|
||||||
EnableSDLLogging();
|
EnableSDLLogging();
|
||||||
|
|
||||||
|
#if SDL_VERSION_ATLEAST(2, 0, 14)
|
||||||
|
// This is required on windows so that SDL's joystick code properly pumps window messages
|
||||||
|
SDL_SetHint(SDL_HINT_JOYSTICK_THREAD, "1");
|
||||||
|
#endif
|
||||||
|
|
||||||
#if SDL_VERSION_ATLEAST(2, 0, 9)
|
#if SDL_VERSION_ATLEAST(2, 0, 9)
|
||||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1");
|
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1");
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user