gamepadJoystickMoved
open override fun gamepadJoystickMoved(stick: GameStick, xAxis: Float, yAxis: Float, gamepad: Int): Boolean
Invoked when a GameStick is moved on a GamepadInfo.
Return
true if event is handled; false otherwise
Parameters
stick
the game stick that was moved
xAxis
the current value of the x-axis. Any value between -1f to 1f
.
yAxis
the current value of the y-axis. Any value between -1f to 1f
.
gamepad
the index of the gamepad that had the button pressed