49 .GetDefaultButtonLoop())
const;
61 .GetDefaultButtonLoop())
const;
73 .GetDefaultButtonLoop())
const;
85 .GetDefaultButtonLoop())
const;
97 .GetDefaultButtonLoop())
const;
109 .GetDefaultButtonLoop())
const;
121 .GetDefaultButtonLoop())
const;
133 .GetDefaultButtonLoop())
const;
145 .GetDefaultButtonLoop())
const;
157 .GetDefaultButtonLoop())
const;
169 .GetDefaultButtonLoop())
const;
181 .GetDefaultButtonLoop())
const;
193 .GetDefaultButtonLoop())
const;
205 .GetDefaultButtonLoop())
const;
217 .GetDefaultButtonLoop())
const;
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 NiDsStadia controllers connected to the Driver Station.
Definition NiDsStadiaController.hpp:30
CommandGenericHID(int port)
Construct an instance of a device.
Trigger Frame(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the frame button's digital signal.
Trigger RightStick(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right stick button's digital signal.
double GetRightX() const
Get the X axis value of right side of the controller.
Trigger LeftStick(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left stick button's digital signal.
Trigger Ellipses(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the ellipses button's digital signal.
double GetRightY() const
Get the Y axis value of right side of the controller.
Trigger A(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the A button's digital signal.
Trigger LeftTrigger(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left trigger button's digital signal.
Trigger Stadia(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the stadia button's digital signal.
Trigger LeftBumper(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left bumper button's digital signal.
Trigger Hamburger(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the hamburger button's digital signal.
wpi::NiDsStadiaController & GetHID()
Get the underlying GenericHID object.
double GetLeftX() const
Get the X axis value of left side of the controller.
CommandNiDsStadiaController(int port)
Construct an instance of a controller.
Trigger Google(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the google button's digital signal.
Trigger Y(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the Y button's digital signal.
Trigger RightTrigger(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right trigger button's digital signal.
double GetLeftY() const
Get the Y axis value of left side of the controller.
Trigger B(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the B 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 X(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the X button's digital signal.
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