Get the current state of a joystick hat
The current state is returned as a byte which is defined as an OR'd combination of one or more of the following:
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
Binds to C-function in SDL_joystick.h
Uint8 SDL_JoystickGetHat(SDL_Joystick *joystick, int hat)
Sdl Class | Tao.Sdl Namespace | SDL_JoystickNumHats