My Project
|
Joystick trackball motion event structure (event.jball.*) More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint32 | timestamp |
SDL_JoystickID | which |
Uint8 | ball |
Uint8 | padding1 |
Uint8 | padding2 |
Uint8 | padding3 |
Sint16 | xrel |
Sint16 | yrel |
Joystick trackball motion event structure (event.jball.*)
Uint8 ball |
The joystick trackball index
Uint32 timestamp |
In milliseconds, populated using SDL_GetTicks()
Uint32 type |
SDL_JoystickID which |
The joystick instance id
Sint16 xrel |
The relative motion in the X direction
Sint16 yrel |
The relative motion in the Y direction