mojo.input.Joystick.GetHat - nitrologic/monkey2 GitHub Wiki

mojo::mojo.input.mojo.input.Joystick.GetHat

Method GetHat:mojo:mojo.input.JoystickHat( hat:monkey:monkey.types.Int )

Gets joystick hat value.

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