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

mojo::mojo.input.mojo.input.Joystick.GetBall

Method GetBall:std:std.geom.Vec2i( ball:monkey:monkey.types.Int )

Gets joystick ball value.

The ball parameter must be in the range 0 (inclusive) to NumBalls (exclusive).