We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 483b8d4 commit bba6555Copy full SHA for bba6555
src/joystick/gdk/SDL_gameinputjoystick.cpp
@@ -279,6 +279,10 @@ static bool GAMEINPUT_JoystickInit(void)
279
return false;
280
}
281
282
+ // Allow background controller input
283
+ // SDL manages focus policy at a higher level, so we can set this unconditionally.
284
+ g_pGameInput->SetFocusPolicy(GameInputEnableBackgroundInput | GameInputEnableBackgroundGuideButton | GameInputEnableBackgroundShareButton);
285
+
286
hr = g_pGameInput->RegisterDeviceCallback(NULL,
287
GameInputKindController,
288
GameInputDeviceConnected,
0 commit comments