22 #ifndef __EventThrottler_h__
23 #define __EventThrottler_h__
46 uint32_t m_lastPostedPenMoveTime;
47 uint32_t m_lastPostedPenDownTime;
48 int m_lastPostedPenMoveX;
49 int m_lastPostedPenMoveY;
51 int m_lastPostedGestureChangeX;
52 int m_lastPostedGestureChangeY;
53 uint32_t m_lastPostedGestureChangeTime;
57 uint32_t m_lastPostedTouchDownTime;
58 uint32_t m_lastPostedTouchUpdateTime;
60 void updatePenLocation(Event* e);
61 void updateTouchLocation(QTouchEvent* e);
62 bool shouldDropMove(Event* e);
63 bool shouldDropGestureChange(Event* e);
64 bool shouldDropTouchEvent(QTouchEvent* e);
67 #endif // __EventThrottler_h__