mojo:mojo.input.Joystick.GetHat

Method GetHat:JoystickHat( hat:Int )

Gets joystick hat value.

The hat parameter must be in the range 0 (inclusive) to NumHats (exclusive).