Represent one of the control axis on an x-y analog joystick on VEX V5 Controller gamepad and read the values
Simulink Coder Support Package for VEX EDR V5 Robot Brain / Gamepad

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