This article has been archived. See the updated article here.
When starting to program with VEXcode IQ, Controller blocks will not appear in the Toolbox until a Controller has been configured.
- You can only configure one Controller per project.
- An IQ Clawbot (drivetrain) Template is used for the following configuration of a Controller.
- If you have a Controller configured, you must have a Controller connected to your VEX IQ Robot Brain for your project to run.
Here are the different options when configuring a Controller:
- Adding a Controller
- Changing a Controller’s Left and Right Buttons
- Changing a Controller’s Joysticks
- Changing a Controller’s E and F Buttons
- Switching the Direction of a Controller’s Buttons
- Deleting a Controller
Adding a Controller
To configure a Controller, select the Devices button to open the Devices window.
Select the generation that you are working with.
Select “Add a device.”
Select "Controller".
If you want to program the Controller using VEXcode IQ, 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.
Changing a Controller’s Left and Right Buttons
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.
Changing a Controller’s Joysticks
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.Changing a Controller’s E and F Buttons
You can change which motors the E and F 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.
Switching the Direction of a Controller’s Buttons
The Options screen also allows the swap arrow to switch which buttons control each direction of the motor.
Deleting a Controller
A Controller can also be deleted by selecting the “Delete” option at the bottom of the screen.