zenilib
0.5.3.0
|
Joystick hat position change event structure (event.jhat.*) More...
#include <SDL_events.h>
Public Attributes | |
Uint8 | hat |
Uint8 | padding1 |
Uint8 | padding2 |
Uint32 | timestamp |
Uint32 | type |
Uint8 | value |
SDL_JoystickID | which |
Joystick hat position change event structure (event.jhat.*)
Definition at line 296 of file SDL_events.h.
Uint8 SDL_JoyHatEvent::hat |
The joystick hat index
Definition at line 301 of file SDL_events.h.
Referenced by SDL_GameControllerEventWatcher(), and SDLTest_PrintEvent().
Uint8 SDL_JoyHatEvent::padding1 |
Definition at line 309 of file SDL_events.h.
Uint8 SDL_JoyHatEvent::padding2 |
Definition at line 310 of file SDL_events.h.
Uint32 SDL_JoyHatEvent::timestamp |
Definition at line 299 of file SDL_events.h.
Uint32 SDL_JoyHatEvent::type |
Definition at line 298 of file SDL_events.h.
Uint8 SDL_JoyHatEvent::value |
The hat position value.
Note that zero means the POV is centered.
Definition at line 302 of file SDL_events.h.
Referenced by SDLTest_PrintEvent().
SDL_JoystickID SDL_JoyHatEvent::which |
The joystick instance id
Definition at line 300 of file SDL_events.h.
Referenced by SDL_GameControllerEventWatcher(), and SDLTest_PrintEvent().