48 .GetDefaultButtonLoop())
const;
60 .GetDefaultButtonLoop())
const;
72 .GetDefaultButtonLoop())
const;
84 .GetDefaultButtonLoop())
const;
96 .GetDefaultButtonLoop())
const;
108 .GetDefaultButtonLoop())
const;
120 .GetDefaultButtonLoop())
const;
132 .GetDefaultButtonLoop())
const;
144 .GetDefaultButtonLoop())
const;
156 .GetDefaultButtonLoop())
const;
173 .GetDefaultButtonLoop())
const;
190 .GetDefaultButtonLoop())
const;
A version of frc::GenericHID with Trigger factories for command-based.
Definition CommandGenericHID.h:19
static CommandScheduler & GetInstance()
Returns the Scheduler instance.
A version of frc::XboxController with Trigger factories for command-based.
Definition CommandXboxController.h:21
Trigger RightTrigger(double threshold=0.5, frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the axis value of the right trigger.
frc::XboxController & GetHID()
Get the underlying GenericHID object.
Trigger RightStick(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right stick button's digital signal.
Trigger Y(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Y button's digital signal.
Trigger Back(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the back button's digital signal.
double GetLeftY() const
Get the Y axis value of left side of the controller.
double GetLeftTriggerAxis() const
Get the left trigger axis value of the controller.
Trigger LeftStick(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left stick button's digital signal.
double GetRightX() const
Get the X axis value of right side of the controller.
Trigger B(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the B button's digital signal.
double GetRightY() const
Get the Y axis value of right side of the controller.
CommandXboxController(int port)
Construct an instance of a controller.
Trigger Start(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the start button's digital signal.
Trigger LeftBumper(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left bumper button's digital signal.
double GetLeftX() const
Get the X axis value of left side of the controller.
double GetRightTriggerAxis() const
Get the right trigger axis value of the controller.
Trigger RightBumper(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right bumper button's digital signal.
Trigger A(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the A button's digital signal.
Trigger LeftTrigger(double threshold=0.5, frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the axis value of the left trigger.
Trigger X(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the X button's digital signal.
This class provides an easy way to link commands to conditions.
Definition Trigger.h:32
A declarative way to bind a set of actions to a loop and execute them when the loop is polled.
Definition EventLoop.h:15
Handle input from Xbox controllers connected to the Driver Station.
Definition XboxController.h:30
Definition FunctionalCommand.h:13