Recover gamepad reconnect by forcing SDL re-enumeration
This commit is contained in:
parent
6742e9153c
commit
5f41d9a4c3
3 changed files with 100 additions and 11 deletions
|
|
@ -19,6 +19,7 @@ SdlInputHandler::SdlInputHandler(StreamingPreferences& prefs, int streamWidth, i
|
|||
m_PendingMouseButtonsAllUpOnVideoRegionLeave(false),
|
||||
m_PointerRegionLockActive(false),
|
||||
m_PointerRegionLockToggledByUser(false),
|
||||
m_LastJoystickCount(-1),
|
||||
m_FakeCaptureActive(false),
|
||||
m_CaptureSystemKeysMode(prefs.captureSysKeysMode),
|
||||
m_MouseCursorCapturedVisibilityState(SDL_DISABLE),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue