mojo.input.Joystick.GetAxis - nitrologic/monkey2 GitHub Wiki
mojo::mojo.input.mojo.input.Joystick.GetAxis
monkey:monkey.types.Float( axis:monkey:monkey.types.Int )
Method GetAxis:Gets joystick axis value and returns a result in the range -1 to 1.
The axis
parameter must be in the range 0 (inclusive) to NumAxes (exclusive).
The returned value is in the range -1.0 to +1.0.