Tao.Sdl SDK Documentation

Sdl.SDL_JoyHatEvent Fields

The fields of the Sdl.SDL_JoyHatEvent structure are listed below. For a complete list of Sdl.SDL_JoyHatEvent structure members, see the Sdl.SDL_JoyHatEvent Members topic.

Public Instance Fields

hat The joystick hat index
type SDL_JOYHATMOTION
val The hat position value:
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.
which The joystick device index

See Also

Sdl.SDL_JoyHatEvent Class | Tao.Sdl Namespace | Sdl.SDL_Event | SDL_JoystickEventState | SDL_JoystickGetHat