#include <SDL_events.h>
Data Fields | |
| Uint8 | type |
| SDL_WindowID | windowID |
| Uint8 | which |
| Uint8 | state |
| int | x |
| int | y |
| int | z |
| int | pressure |
| int | pressure_max |
| int | pressure_min |
| int | rotation |
| int | tilt |
| int | cursor |
| int | xrel |
| int | yrel |
| int cursor |
The cursor being used in the event
| int pressure |
Pressure reported by tablets
| int pressure_max |
Maximum value of the pressure reported by the device
| int pressure_min |
Minimum value of the pressure reported by the device
| int rotation |
For future use
| int tilt |
For future use
The window with mouse focus, if any
| int x |
X coordinate, relative to window
| int xrel |
The relative motion in the X direction
| int y |
Y coordinate, relative to window
| int yrel |
The relative motion in the Y direction
| int z |
Z coordinate, for future use
1.5.8