-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_MotionEvent
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Motion event.
typedef struct {
int32_t x;
int32_t y;
bool relative;
bool synth;
} MTY_MotionEvent;
x
(int32_t
)
If relative
is true
, the horizontal delta since the previous motion event, otherwise the horizontal position in the window's client area.
y
(int32_t
)
In relative
is true
, the vertical delta since the previous motion event, otherwise the vertical position in the window's client area.
relative
(bool
)
The event is a relative motion event.
synth
(bool
)
The event was synthesized by libmatoya
.