My Project
|
Joystick hat position change event structure (event.jhat.*) More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint32 | timestamp |
SDL_JoystickID | which |
Uint8 | hat |
Uint8 | value |
Uint8 | padding1 |
Uint8 | padding2 |
Joystick hat position change event structure (event.jhat.*)
Uint8 hat |
The joystick hat index
Uint32 timestamp |
In milliseconds, populated using SDL_GetTicks()
Uint32 type |
Uint8 value |
The hat position value.
Note that zero means the POV is centered.
SDL_JoystickID which |
The joystick instance id