VEXcode IQ Blocks can access all of the data from the IQ Controller by referencing the buttons and axes by their described names.
This article will cover the following:
- Position and Names of Buttons and Joysticks
- Blocks that include Controller Buttons and Joysticks
- Additional Controller Articles
The VEX IQ Controller is included in the VEX IQ Super Kit but can also be purchased here.
Position and Names of Buttons and Joysticks
View the following image describing the position of the Buttons and Joysticks as well as their proper names:
Buttons return values of:
- 1 - Pressed
- 0 - Not Pressed / Released
Each Joystick Axis returns a value between -100 to +100, and returns a value of zero when centered.
Blocks that include Controller Buttons and Joysticks
When programming in VEXcode IQ Blocks, understanding the Button and Joystick names, as well as their position on the Controller, helps determine which block should be used. The Controller will first need to be configured before blocks including the Controller will be visible. Click here for more information about blocks:
Additional Controller Articles
For more information about using the Controller, view the following articles:
- How to Configure a VEX IQ Controller - VEXcode IQ Blocks
- How to use the VEX IQ Controller Without Programming - VEXcode IQ Blocks
- How to Pair the VEX IQ Robot Brain with the VEX IQ Controller for Wireless Operation
- How to Calibrate the IQ Controller
- How to Install the VEX IQ Controller Battery
- How to Charge the VEX IQ Controller Battery
- How to Read Indicator Lights on the VEX IQ Controller