Improve mouse batching to only batch if the last event was less than 1 millisecond ago

This commit is contained in:
Cameron Gutman
2018-09-04 00:09:35 -07:00
parent 9aa487418f
commit 9a71b4c237
2 changed files with 14 additions and 4 deletions

View File

@@ -44,6 +44,7 @@ private:
void sendGamepadState(GamepadState* state);
Uint32 m_LastMouseMotionTime;
bool m_MultiController;
int m_GamepadMask;
GamepadState m_GamepadState[MAX_GAMEPADS];