My Project
|
Mouse motion event structure (event.motion.*) More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint32 | timestamp |
Uint32 | windowID |
Uint32 | which |
Uint32 | state |
Sint32 | x |
Sint32 | y |
Sint32 | xrel |
Sint32 | yrel |
Mouse motion event structure (event.motion.*)
Uint32 state |
The current button state
Uint32 timestamp |
In milliseconds, populated using SDL_GetTicks()
Uint32 type |
Uint32 which |
The mouse instance id, or SDL_TOUCH_MOUSEID
Uint32 windowID |
The window with mouse focus, if any
Sint32 x |
X coordinate, relative to window
Sint32 xrel |
The relative motion in the X direction
Sint32 y |
Y coordinate, relative to window
Sint32 yrel |
The relative motion in the Y direction