CommandGamepad
A wrapper around the standard FTC Gamepad that exposes its buttons as command-based Triggers.
This allows you to easily map controller inputs directly to Ivy commands using the WPILib-style Trigger API (e.g., gamepad.a.onTrue(scoreCommand)).
Parameters
The event loop to bind the button triggers to.
The underlying FTC gamepad instance to read data from.
Properties
A trigger that evaluates to true when the left bumper is pressed.
A trigger that evaluates to true when the left stick is clicked.
A range trigger that evaluates to how far the x value of the left stick is moved.
A range trigger that evaluates to how far the y value of the left stick is moved.
A range trigger that evaluates to how far the left trigger is pressed.
A trigger that evaluates to true when the right bumper is pressed.
A trigger that evaluates to true when the right stick is clicked.
A range trigger that evaluates to how far the x value of the right stick is moved.
A range trigger that evaluates to how far the y value of the right stick is moved.
A range trigger that evaluates to how far the right trigger is pressed.