#include <inputevent.h>
Public Member Functions | |
TouchMoveEvent (int fingerID, int touchID, float x, float y, float pressure, float dx, float dy, int window=input::invalid, int wx=input::invalid, int wy=input::invalid) | |
![]() | |
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 |
![]() | |
WindowInputEvent (int window) | |
![]() | |
virtual | ~Event ()=default |
Event ()=default | |
Event (const Event &)=delete | |
Event & | operator= (const Event &)=delete |
Public Attributes | |
float | mDX |
The distance moved in the x-axis, normalized (-1-1) More... | |
float | mDY |
The distance moved in the y-axis, normalized (-1-1) More... | |
![]() | |
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... | |
![]() | |
int | mWindow |
Window ID. More... | |
Finger move input event
TouchMoveEvent | ( | int | fingerID, |
int | touchID, | ||
float | x, | ||
float | y, | ||
float | pressure, | ||
float | dx, | ||
float | dy, | ||
int | window = input::invalid , |
||
int | wx = input::invalid , |
||
int | wy = input::invalid |
||
) |
float mDX |
The distance moved in the x-axis, normalized (-1-1)
float mDY |
The distance moved in the y-axis, normalized (-1-1)