Configuring the V5 Controller in VEXcode Pro V5

The VEX Visual Studio Code Extension has replaced VEXcode Pro V5, which is now end-of-life.

VEXcode Blocks and VEXcode Text remain actively developed and supported for all VEX platforms.

When starting to program with VEXcode Pro V5, Controller commands will not appear in the Command Reference until a Controller has been configured.

  • You can only configure two Controllers per project.
  • A Clawbot Template (Drivetrain) example project is used for the following configuration of a Controller.

Adding a Controller

VEXcode Pro V5 interface with Robot Configuration button highlighted on the Toolbar.

To configure a Controller, select the Robot Configuration button to open the Robot Configuration window. A project must be open in order to use the Robot Configuration window.

VEXcode Pro V5 Robot Configuration menu is open and the ‘Add a device’ option is highlighted.

Select “Add a device.”

Device selection window with the Controller option highlighted.

Select "Controller."

Controller configuration window showing Controller1 layout with button mapping interface and Done button highlighted.

If you want to program the Controller using VEXcode Pro V5, select “Done” to complete the configuration or “Cancel” to return back to the Robot Configuration window.

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


Changing a Controller’s Left and Right Buttons

Controller configuration window showing ArmMotor and ClawMotor assigned to left and right buttons with forward and reverse options displayed.

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

Controller configuration window showing joystick drive mode controls used to switch between drive modes.

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

Controller configuration window showing arrow and letter buttons assigned to motors with forward and reverse controls displayed.

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

Controller configuration window showing motor direction controls with forward and reverse assignments swapped using arrow icons.

The Controller Settings window also allows the swap arrow to switch which buttons control each direction of the motor.


Deleting a Controller

Controller configuration window with Delete button highlighted to remove the controller.

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

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

Last Updated: