Revert change to only fire special combos on key up

This commit is contained in:
Cameron Gutman 2021-02-28 15:06:46 -06:00
commit b2aea9f8f0
3 changed files with 31 additions and 51 deletions

View file

@ -139,7 +139,7 @@ private:
void handleRelativeFingerEvent(SDL_TouchFingerEvent* event);
void performPendingSpecialKeyCombo();
void performSpecialKeyCombo(KeyCombo combo);
static
Uint32 longPressTimerCallback(Uint32 interval, void* param);
@ -200,7 +200,6 @@ private:
SDL_Scancode scanCode;
bool enabled;
} m_SpecialKeyCombos[KeyComboMax];
KeyCombo m_PendingKeyCombo;
SDL_TouchFingerEvent m_LastTouchDownEvent;
SDL_TouchFingerEvent m_LastTouchUpEvent;