Represent one button on VEX gamepad and read logical value
Simulink Coder Support Package for ARM Cortex-based VEX Microcontroller / Gamepad
The Gamepad Button block is used to represent one of the 12 buttons on the VEX® gamepad. The block reads the corresponding logical value (1 or 0) based on whether the button is pressed or released.