mojo.input.Joystick.GetHat - nitrologic/monkey2 GitHub Wiki
mojo::mojo.input.mojo.input.Joystick.GetHat
mojo:mojo.input.JoystickHat( hat:monkey:monkey.types.Int )
Method GetHat:Gets joystick hat value.
The hat
parameter must be in the range 0 (inclusive) to NumHats (exclusive).