SDL standard library
SDL_JoyHatEvent Struct Reference
Joystick hat position change event structure (event.jhat. More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
SDL_JOYHATMOTION | |
SDL_JoystickID | which |
The joystick instance id. | |
Uint8 | hat |
The joystick hat index. | |
Uint8 | value |
The hat position value. |
Detailed Description
Joystick hat position change event structure (event.jhat.
*)
Definition at line 299 of file SDL_events.h.
Field Documentation
The joystick hat index.
Definition at line 304 of file SDL_events.h.
Definition at line 301 of file SDL_events.h.
The hat position value.
- See also:
- SDL_HAT_LEFTUP SDL_HAT_UP SDL_HAT_RIGHTUP
- SDL_HAT_LEFT SDL_HAT_CENTERED SDL_HAT_RIGHT
- SDL_HAT_LEFTDOWN SDL_HAT_DOWN SDL_HAT_RIGHTDOWN
Note that zero means the POV is centered.
Definition at line 305 of file SDL_events.h.
SDL_JoystickID which |
The joystick instance id.
Definition at line 303 of file SDL_events.h.
Generated on Tue Jul 12 2022 13:56:26 by 1.7.2