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;
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 NiDsPS4 controllers connected to the Driver Station.
Definition NiDsPS4Controller.hpp:30
CommandGenericHID(int port)
Construct an instance of a device.
Trigger Options(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the options button's digital signal.
Trigger L1(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left trigger 1 button's digital signal.
Trigger Touchpad(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the touchpad button's digital signal.
CommandNiDsPS4Controller(int port)
Construct an instance of a controller.
Trigger Cross(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the cross button's digital signal.
Trigger R3(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the R3 (right stick) button's digital signal.
Trigger Square(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the square button's digital signal.
Trigger PS(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the PlayStation button's digital signal.
wpi::NiDsPS4Controller & GetHID()
Get the underlying GenericHID object.
Trigger R1(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right trigger 1 button's digital signal.
double GetL2Axis() const
Get the left trigger 2 axis value of the controller.
Trigger Share(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the share button's digital signal.
double GetLeftX() const
Get the X axis value of left side of the controller.
double GetLeftY() const
Get the Y axis value of left side of the controller.
double GetRightX() const
Get the X axis value of right side of the controller.
Trigger R2(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right trigger 2 button's digital signal.
Trigger L2(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left trigger 2 button's digital signal.
double GetRightY() const
Get the Y axis value of right side of the controller.
Trigger L3(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the L3 (left stick) button's digital signal.
double GetR2Axis() const
Get the right trigger 2 axis value of the controller.
Trigger Triangle(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the triangle button's digital signal.
Trigger Circle(wpi::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the circle 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