Fix gamepads not working, enable on Android

This commit is contained in:
elasota
2021-10-22 22:01:33 -04:00
parent 9ba15c6d78
commit 545798600e
7 changed files with 17 additions and 18 deletions

View File

@@ -177,8 +177,6 @@ void GpInputDriverSDLGamepad::HandleDeviceRemoved(SDL_JoystickID joystickID)
{
m_playerButtonDown[playerNum][button] = false;
GpVOSEvent evt;
evt.m_eventType = GpVOSEventTypes::kKeyboardInput;
evt.m_event.m_keyboardInputEvent.m_eventType = GpKeyboardInputEventTypes::kUp;