In vexcode, there is a set of controller.axis (plural). Could anyone tell me what part of the controller this refers to?
1 Like
These refer to the 2 joysticks. Each joystick has an x and y axis.
This image from Vexcode V5 should explain it:
Each axis corresponds to an x or y direction on the joystick.
The axis are also printed onto the controller above the joysticks in red.
6 Likes
Left Stick: axis 3 = Y . Axis 4 = X
right Stick: Axis 1 = X. Axis 2 = Y
1 Like