get Axis Movement
fun getAxisMovement(axis: GamePad.Axis, index: Int = 0): ERROR CLASS: Unresolved name: GetGamepadAxisMovement
Gets the axis movement on the specified gamepad.
Values will be in between 0.0 and 1.0.
Return
the moved axis value between 0.0 and 1.0
Parameters
axis
The axis movement to check.
index
The index of the currently connected gamepad.