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§
- Button
State - Represents the state of a button on the controller.
- Controller
- V5 Controller
- Controller
Screen Write Future - A future that completes once a write to the controller screen has been performed.
- Controller
State - Holds a snapshot of the state of the controller.
Returned by
Controller::state. - Joystick
State - Stores how far the joystick is away from the center (at (0, 0)) from -1 to 1.
Enums§
- Controller
Connection - Represents the state of a controller’s connection.
- Controller
Error - Errors that can occur when interacting with the controller.
- Controller
Id - Represents an identifier for one of the two possible controllers connected to the V5 Brain.