Sortix volatile manual
This manual documents Sortix volatile, a development build that has not been officially released. You can instead view this document in the latest official manual.
SDL_JoyButtonEvent(3) | SDL API Reference | SDL_JoyButtonEvent(3) |
NAME
SDL_JoyButtonEvent - Joystick button event structureSTRUCTURE DEFINITION
typedef struct{
Uint8 type;
Uint8 which;
Uint8 button;
Uint8 state;
} SDL_JoyButtonEvent;
STRUCTURE DATA
- type
- SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP
- which
- Joystick device index
- button
- Joystick button index
- state
- SDL_PRESSED or SDL_RELEASED
DESCRIPTION
SDL_JoyButtonEvent is a member of the SDL_Event union and is used when an event of type SDL_JOYBUTTONDOWN or SDL_JOYBUTTONUP is reported.SEE ALSO
SDL_Event, Joystick Functions, SDL_JoystickEventState, SDL_JoystickGetButtonTue 11 Sep 2001, 22:59 | SDL |