Configuring the V5 Controller in VEXcode V5

When starting to program with VEXcode V5, Controller blocks will not appear in the Toolbox until a Controller has been configured. 

  • You can only configure one Controller per project.
  • A V5 Clawbot (drivetrain) - Template project is used for the following configuration of a Controller.
  • If you have a Controller configured, you must have a Controller connected to your VEX V5 Robot Brain for your project to run.

Adding a Controller

VEXcode V5 Toolbar with the Devices icon highlighted to the left of the Help icon.

To configure a Controller, select the Devices button to open the Devices window.

VEXcode V5 Devices menu with the Add a device button shown.

Select “Add a device.”

VEXcode V5 Devices menu after the Add a device button has been selected. The Controller option is highlighted.

Select "Controller."

VEXcode V5 Devices menu after selecting the Controller option. Below, the Done button is highlighted.

If you want to program the Controller using VEXcode V5, select “Done” to complete the configuration or “Cancel” to return back to the Devices menu.

Note: If you want to configure the Controller for use without programming, see the additional options below.

VEXcode V5 Devices menu with the previously added Controller shown in the Devices menu. The Blocks Toolbox is also shown and two Controller-specific Event blocks are highlighted.

Once the Controller is added, you will see the Controller added to the Devices Window, and Controller blocks (like those highlighted in this image) will appear in the Toolbox.


Changing a Controller’s Left and Right Buttons

VEXcode V5 Devices menu with the Controller options shown. The left and right sets of buttons are highlighted, with the L and R axis buttons connected to an Arm Motor Group and a Claw Motor Group respectively.

You can change which motors the Left and Right buttons control by selecting the buttons to cycle through the motors until the desired motor is shown.

Note: The motors must be configured before assigning actions to buttons. For more information on how to configure motors, click here.


Changing a Controller’s Joysticks

VEXcode V5 Devices menu with the Controller options shown. Icons indicates that both joysticks are controlling the Drivetrain using the Split Arcade control scheme.

You can change the drive-mode of the robot by selecting the Joysticks to cycle through the modes until the desired mode is shown. The four modes are: Left Arcade, Right Arcade, Split Arcade, Tank.

Note: The Drivetrain must be configured before assigning a drive-mode. A Drivetrain can be configured with a gyro and without a gyro.


Changing a Controller’s Arrow and Letter Buttons

VEXcode V5 Devices menu with the Controller options shown. The two sets of buttons below the joysticks are highlighted, with the up and down arrow buttons connected to an Arm Motor Group and the X and B buttons connected to a Claw Motor Group.

You can change which motors the Arrow and Letter buttons control by selecting the buttons to cycle through the motors until the desired motor is shown.

Note: The motors must be configured before assigning actions to buttons. For more information on how to configure motors, click here.

Note: Only the Up and Down Arrow buttons and X and B Letter buttons are configurable. 


Switching the Direction of a Controller’s Buttons

VEXcode V5 Devices menu with the Controller options shown. A set of buttons controlling an Arm Motor Group are highlighted, and the curving arrow icon is highlighted to indicate that their direction can be reversed.

The Options screen also allows the swap arrow to switch which buttons control each direction of the motor.


Deleting a Controller

VEXcode V5 Devices menu with the Controller options shown. Below, the Delete button is highlighted.

A Controller can also be deleted by selecting the “Delete” option at the bottom of the screen.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: