Disable touch feedback when sending touch natively

This commit is contained in:
Cameron Gutman 2023-07-23 00:17:58 -05:00
commit f112edc3c3
3 changed files with 44 additions and 0 deletions

View file

@ -140,6 +140,8 @@ private:
void emulateAbsoluteFingerEvent(SDL_TouchFingerEvent* event);
void disableTouchFeedback();
void handleRelativeFingerEvent(SDL_TouchFingerEvent* event);
void performSpecialKeyCombo(KeyCombo combo);
@ -194,6 +196,7 @@ private:
int m_StreamHeight;
bool m_AbsoluteMouseMode;
bool m_AbsoluteTouchMode;
bool m_DisabledTouchFeedback;
SDL_TouchFingerEvent m_TouchDownEvent[MAX_FINGERS];
SDL_TimerID m_LeftButtonReleaseTimer;