20 using XboxController::XboxController;
33 .GetDefaultButtonLoop())
const;
44 .GetDefaultButtonLoop())
const;
55 .GetDefaultButtonLoop())
const;
66 .GetDefaultButtonLoop())
const;
77 .GetDefaultButtonLoop())
const;
132 .GetDefaultButtonLoop())
const;
143 .GetDefaultButtonLoop())
const;
160 .GetDefaultButtonLoop())
const;
176 double threshold = 0.5,
static CommandScheduler & GetInstance()
Returns the Scheduler instance.
A version of XboxController with Trigger factories for command-based.
Definition: CommandXboxController.h:18
Trigger RightStick(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around the right stick's digital signal.
Trigger Back(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around the back button's digital signal.
Trigger LeftStick(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around the left stick's digital signal.
Trigger Y(frc::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs an event instance around the Y button's digital signal.
Trigger Button(int button, frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around this button's digital signal.
Trigger B(frc::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs an event instance around the B button's digital signal.
Trigger Start(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around the start button's digital signal.
Trigger LeftBumper(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around the left bumper's digital signal.
Trigger X(frc::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs an event instance around the X button's digital signal.
Trigger RightBumper(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around the right bumper's digital signal.
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.
Trigger A(frc::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs an event 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.
This class provides an easy way to link commands to conditions.
Definition: Trigger.h:31
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 360 or Xbox One controllers connected to the Driver Station.
Definition: XboxController.h:24
Definition: TrapezoidProfileSubsystem.h:12