Skip to content

Mojo input joystick buttondown

mojo:mojo.input.Joystick.ButtonDown

Method ButtonDown:Bool( button:Int )#

Gets button up/down state.

The button parameter must be in the range 0 (inclusive) to NumButtons (exclusive).

The returned value is true if button is down, else false.