Module controller

Module controller 

Source
Available on crate feature devices only.
Expand description

Functionality for VEX controllers.

This module allows you to read from the buttons and joysticks on the controller and write to the controller’s display.

Structs§

ButtonState
Represents the state of a button on the controller.
Controller
V5 Controller
ControllerScreenWriteFuture
A future that completes once a write to the controller screen has been performed.
ControllerState
Holds a snapshot of the state of the controller. Returned by Controller::state.
JoystickState
Stores how far the joystick is away from the center (at (0, 0)) from -1 to 1.

Enums§

ControllerConnection
Represents the state of a controller’s connection.
ControllerError
Errors that can occur when interacting with the controller.
ControllerId
Represents an identifier for one of the two possible controllers connected to the V5 Brain.