JoystickAxis

constructor(axis: () -> Float, threshold: Float = 0.0f, reverse: Boolean)

Parameters

axis

the value of the axis to watch

threshold

the amount the axis has to be moved in either direction before it is considered 'displaced'