#include <inputevent.h>
Public Member Functions | |
| TouchPressEvent (int fingerID, int touchID, float x, float y, float pressure, int window=input::invalid, int wx=input::invalid, int wy=input::invalid) | |
Public Member Functions inherited from TouchEvent | |
| TouchEvent (int fingerID, int touchID, float x, float y, float pressure, int window=input::invalid, int wx=input::invalid, int wy=input::invalid) | |
| bool | hasWindow () const |
Public Member Functions inherited from WindowInputEvent | |
| WindowInputEvent (int window) | |
Public Member Functions inherited from Event | |
| virtual | ~Event ()=default |
| Event ()=default | |
| Event (const Event &)=delete | |
| Event & | operator= (const Event &)=delete |
Additional Inherited Members | |
Public Attributes inherited from TouchEvent | |
| int | mFingerID |
| The finger ID. More... | |
| int | mTouchID |
| The touch device ID. More... | |
| float | mX |
| The x-axis location of the touch event, normalized(0 - 1) More... | |
| float | mY |
| The y-axis location of the touch event, normalized(0 - 1) More... | |
| float | mPressure |
| The quantity of the pressure applied, normalized (0 - 1) More... | |
| int | mXCoordinate |
| The x-axis window coordinate, if any. -1 otherwise. More... | |
| int | mYCoordinate |
| The y-axis window coordinate, if any. -1 otherwise. More... | |
Public Attributes inherited from WindowInputEvent | |
| int | mWindow |
| Window ID. More... | |
Finger down input event
| TouchPressEvent | ( | int | fingerID, |
| int | touchID, | ||
| float | x, | ||
| float | y, | ||
| float | pressure, | ||
| int | window = input::invalid, |
||
| int | wx = input::invalid, |
||
| int | wy = input::invalid |
||
| ) |