mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-03 20:22:45 +00:00
Try workaround for SDL joystick dpad problems as mentioned in #7428
This commit is contained in:
parent
e5706ac9ff
commit
e6af3cf2f4
@ -13,6 +13,7 @@ extern "C" {
|
||||
SDLJoystick::SDLJoystick(bool init_SDL ): thread(NULL), running(true) {
|
||||
if (init_SDL)
|
||||
{
|
||||
SDL_setenv("SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS", "1", 0);
|
||||
SDL_Init(SDL_INIT_JOYSTICK | SDL_INIT_VIDEO);
|
||||
}
|
||||
fillMapping();
|
||||
|
Loading…
x
Reference in New Issue
Block a user