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_JoyHatEvent(3) | SDL API Reference | SDL_JoyHatEvent(3) |
NAME
SDL_JoyHatEvent - Joystick hat position change event structureSTRUCTURE DEFINITION
typedef struct{
Uint8 type;
Uint8 which;
Uint8 hat;
Uint8 value;
} SDL_JoyHatEvent;
DESCRIPTION
SDL_JoyHatEvent is a member of the SDL_Event union and is used when an event of type SDL_JOYHATMOTION is reported.-
- SDL_HAT_CENTERED
-
- SDL_HAT_UP
-
- SDL_HAT_RIGHT
-
- SDL_HAT_DOWN
-
- SDL_HAT_LEFT
-
- SDL_HAT_RIGHTUP
-
- SDL_HAT_RIGHTDOWN
-
- SDL_HAT_LEFTUP
-
- SDL_HAT_LEFTDOWN
SEE ALSO
SDL_Event, Joystick Functions, SDL_JoystickEventState, SDL_JoystickGetHatTue 11 Sep 2001, 22:59 | SDL |