vex.controller.button module

Controller Buttons.

class vex.controller.button.ControllerButton(mask: str)[source]

Bases: object

Controller Button.

ROBOT MESH PYTHON B:

Use the Button class to get values from the controller’s buttons.

robotmesh.com/studio/content/docs/vexiq-python_b/html/classvex_1_1_controller_button.html

pressing() bool[source]

Return Controller Button’s pressed status.

ROBOT MESH PYTHON B:

Get the status of a button.

Returns: True if pressed, false otherwise