Tao.Sdl SDK Documentation

Sdl.SDL_JoyHatEvent Members

Sdl.SDL_JoyHatEvent overview

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

Public Instance Methods

Equals (inherited from ValueType)Indicates whether this instance and a specified object are equal.
GetHashCode (inherited from ValueType)Returns the hash code for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from ValueType)Returns the fully qualified type name of this instance.

See Also

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