Get the current state of a POV hat on a joystick.
The returned value will be one of the SDL_HAT_* values.
an SDL_Joystick structure containing joystick information.
the hat index to get the state from; indices start at index 0.
The current hat position.
SDL_GetNumJoystickHats
See Implementation
Get the current state of a POV hat on a joystick.
The returned value will be one of the SDL_HAT_* values.