|
My Project
|
Joystick trackball motion event structure (event.jball.*) More...
#include <SDL_events.h>
Public Attributes | |
| 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 SDL_JoyBallEvent::ball |
The joystick trackball index
| Uint32 SDL_JoyBallEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
| Uint32 SDL_JoyBallEvent::type |
| SDL_JoystickID SDL_JoyBallEvent::which |
The joystick instance id
| Sint16 SDL_JoyBallEvent::xrel |
The relative motion in the X direction
| Sint16 SDL_JoyBallEvent::yrel |
The relative motion in the Y direction