Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
SDL_JoyBallEvent(3) | SDL API Reference | SDL_JoyBallEvent(3) |
NAME
SDL_JoyBallEvent - Joystick trackball motion event structureSTRUCTURE DEFINITION
typedef struct{
Uint8 type;
Uint8 which;
Uint8 ball;
Sint16 xrel, yrel;
} SDL_JoyBallEvent;
STRUCTURE DATA
- type
- SDL_JOYBALLMOTION
- which
- Joystick device index
- ball
- Joystick trackball index
- xrel, yrel
- The relative motion in the X/Y direction
DESCRIPTION
SDL_JoyBallEvent is a member of the SDL_Event union and is used when an event of type SDL_JOYBALLMOTION is reported.SEE ALSO
SDL_Event, Joystick Functions, SDL_JoystickEventState, SDL_JoystickGetBallTue 11 Sep 2001, 22:59 | SDL |