Fix fullscreen prefs not working in SDL. Add SDL GameController support.

This commit is contained in:
elasota
2021-03-05 01:56:32 -05:00
parent a5562f96e0
commit c981a97a20
14 changed files with 402 additions and 21 deletions

View File

@@ -154,6 +154,7 @@ void GpInputDriverXInput::ProcessButtonStateChange(DWORD prevState, DWORD newSta
evt->m_event.m_keyboardInputEvent.m_keyIDSubset = GpKeyIDSubsets::kGamepadButton;
evt->m_event.m_keyboardInputEvent.m_key.m_gamepadKey.m_button = gamepadButton;
evt->m_event.m_keyboardInputEvent.m_key.m_gamepadKey.m_player = playerNum;
evt->m_event.m_keyboardInputEvent.m_repeatCount = 0;
}
}