#include <SDL_events.h>
Data Fields | |
| Uint8 | type |
| Uint8 | which |
| Uint8 | ball |
| Sint16 | xrel |
| Sint16 | yrel |
| Uint8 ball |
The joystick trackball index
| Uint8 type |
SDL_JOYBALLMOTION
| Uint8 which |
The joystick device index
| Sint16 xrel |
The relative motion in the X direction
| Sint16 yrel |
The relative motion in the Y direction
1.5.8