45 .GetDefaultButtonLoop())
const;
57 .GetDefaultButtonLoop())
const;
69 .GetDefaultButtonLoop())
const;
81 .GetDefaultButtonLoop())
const;
93 .GetDefaultButtonLoop())
const;
105 .GetDefaultButtonLoop())
const;
117 .GetDefaultButtonLoop())
const;
129 .GetDefaultButtonLoop())
const;
141 .GetDefaultButtonLoop())
const;
153 .GetDefaultButtonLoop())
const;
165 .GetDefaultButtonLoop())
const;
177 .GetDefaultButtonLoop())
const;
189 .GetDefaultButtonLoop())
const;
201 .GetDefaultButtonLoop())
const;
213 .GetDefaultButtonLoop())
const;
225 .GetDefaultButtonLoop())
const;
250 .GetDefaultButtonLoop())
const;
275 .GetDefaultButtonLoop())
const;
287 .GetDefaultButtonLoop())
const;
299 .GetDefaultButtonLoop())
const;
311 .GetDefaultButtonLoop())
const;
323 .GetDefaultButtonLoop())
const;
335 .GetDefaultButtonLoop())
const;
347 .GetDefaultButtonLoop())
const;
364 .GetDefaultButtonLoop())
const;
380 double threshold = 0.5,
A declarative way to bind a set of actions to a loop and execute them when the loop is polled.
Definition EventLoop.hpp:15
Handle input from Gamepad controllers connected to the Driver Station.
Definition Gamepad.hpp:27
Trigger EastFace(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the East Face button's digital signal.
Trigger Misc3(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Miscellaneous 3 button's digital signal.
double GetRightTriggerAxis() const
Get the right trigger axis value of the controller.
Trigger DpadDown(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the D-pad down button's digital signal.
double GetLeftX() const
Get the X axis value of left side of the controller.
Trigger RightStick(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right stick button's digital signal.
Trigger LeftPaddle2(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Left Paddle 2 button's digital signal.
Trigger Misc2(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Miscellaneous 2 button's digital signal.
CommandGamepad(int port)
Construct an instance of a controller.
double GetLeftTriggerAxis() const
Get the left trigger axis value of the controller.
Trigger LeftTrigger(double threshold=0.5, wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the axis value of the left trigger.
Trigger Back(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Back button's digital signal.
double GetRightY() const
Get the Y axis value of right side of the controller.
Trigger DpadRight(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the D-pad right button's digital signal.
wpi::Gamepad & GetHID()
Get the underlying GenericHID object.
Trigger NorthFace(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the North Face button's digital signal.
Trigger Misc1(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Miscellaneous 1 button's digital signal.
Trigger RightBumper(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right bumper button's digital signal.
Trigger DpadLeft(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the D-pad left button's digital signal.
Trigger DpadUp(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the D-pad up button's digital signal.
Trigger RightTrigger(double threshold=0.5, wpi::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs a Trigger instance around the axis value of the right trigger.
Trigger WestFace(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the West Face button's digital signal.
Trigger LeftPaddle1(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Left Paddle 1 button's digital signal.
Trigger SouthFace(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the South Face button's digital signal.
Trigger Guide(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Guide button's digital signal.
Trigger RightPaddle2(wpi::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Right Paddle 2 button's digital signal.
double GetRightX() const
Get the X axis value of right side of the controller.
Trigger Misc4(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Miscellaneous 4 button's digital signal.
Trigger LeftBumper(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right bumper button's digital signal.
Trigger Touchpad(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Touchpad button's digital signal.
double GetLeftY() const
Get the Y axis value of left side of the controller.
Trigger Misc6(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Miscellaneous 6 button's digital signal.
Trigger LeftStick(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left stick button's digital signal.
Trigger Start(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Start button's digital signal.
Trigger Misc5(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Miscellaneous 5 button's digital signal.
Trigger RightPaddle1(wpi::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Right Paddle 1 button's digital signal.
CommandGenericHID(int port)
Construct an instance of a device.
static CommandScheduler & GetInstance()
Returns the Scheduler instance.
This class provides an easy way to link commands to conditions.
Definition Trigger.hpp:31
Definition CommandNiDsStadiaController.hpp:15