Represent one control axis on x-yanalog VEX gamepad joystick and read values
Simulink Coder Support Package for ARM Cortex-based VEX Microcontroller / Gamepad

The Gamepad Joystick block is used to represent one of the control axes of an x-y analog joystick on the VEX® gamepad. The block reads the corresponding analog value based on the position of the joystick along that axis. There are two analog joysticks on the VEX gamepad with two control axes (x-y) on each joystick.