leftStickPosition

fun XboxController.leftStickPosition(xDeadzone: Double, yDeadzone: Double): Pair<Double, Double>

Gets the position of the left stick based on the input from the controller.

Receiver

XboxController The controller.

Return

Pair The coordinate representing the position of the left stick. The first element is the x-coordinate, and the second element is the y-coordinate.