11 #include "input/touch/ITouchInputHandling.h" 12 #include "input/touch/TouchTypes.h" 28 static constexpr
int MAX_POINTERS = 2;
virtual bool OnTouchDown(unsigned int index, const Pointer &pointer)=0
A new touch pointer has been recognised.
virtual bool OnTouchUpdate(unsigned int index, const Pointer &pointer)
An active touch pointer's values have been updated but no event has occurred.
Definition: IGenericTouchGestureDetector.h:76
bool IsDone()
Check whether the gesture recognition is finished or not.
Definition: IGenericTouchGestureDetector.h:35
bool m_done
Whether the gesture recognition is finished or not.
Definition: IGenericTouchGestureDetector.h:82
float m_dpi
DPI value of the touch screen.
Definition: IGenericTouchGestureDetector.h:86
std::array< Pointer, MAX_POINTERS > m_pointers
Local list of all known touch pointers.
Definition: IGenericTouchGestureDetector.h:90
Interface defining methods to perform gesture recognition.
Definition: IGenericTouchGestureDetector.h:20
Interface defining all supported touch action events.
Definition: ITouchActionHandler.h:32
virtual bool OnTouchMove(unsigned int index, const Pointer &pointer)
An active touch pointer has moved.
Definition: IGenericTouchGestureDetector.h:66
A class representing a touch pointer interaction consisting of an down touch, the last touch and the ...
Definition: TouchTypes.h:49
virtual bool OnTouchUp(unsigned int index, const Pointer &pointer)
An active touch pointer has vanished.
Definition: IGenericTouchGestureDetector.h:57