|
@@ -279,6 +279,10 @@ static bool GAMEINPUT_JoystickInit(void)
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // Allow background controller input
|
|
|
|
+ // SDL manages focus policy at a higher level, so we can set this unconditionally.
|
|
|
|
+ g_pGameInput->SetFocusPolicy(GameInputEnableBackgroundInput | GameInputEnableBackgroundGuideButton | GameInputEnableBackgroundShareButton);
|
|
|
|
+
|
|
hr = g_pGameInput->RegisterDeviceCallback(NULL,
|
|
hr = g_pGameInput->RegisterDeviceCallback(NULL,
|
|
GameInputKindController,
|
|
GameInputKindController,
|
|
GameInputDeviceConnected,
|
|
GameInputDeviceConnected,
|