mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-16 21:30:06 +00:00
Fix uninitialized gamepad mask in multi-controller mode
This commit is contained in:
@@ -41,6 +41,10 @@ SdlInputHandler::SdlInputHandler(bool multiController)
|
||||
// Player 1 is always present in non-MC mode
|
||||
m_GamepadMask = 0x1;
|
||||
}
|
||||
else {
|
||||
// Otherwise, detect gamepads on the fly
|
||||
m_GamepadMask = 0;
|
||||
}
|
||||
|
||||
SDL_zero(m_GamepadState);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user