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;
168 .GetDefaultButtonLoop())
const;
180 .GetDefaultButtonLoop())
const;
192 .GetDefaultButtonLoop())
const;
204 .GetDefaultButtonLoop())
const;
A version of frc::GenericHID with Trigger factories for command-based.
Definition CommandGenericHID.h:19
A version of frc::PS4Controller with Trigger factories for command-based.
Definition CommandPS4Controller.h:21
double GetL2Axis() const
Get the left trigger 2 axis value of the controller.
frc::PS4Controller & GetHID()
Get the underlying GenericHID object.
double GetR2Axis() const
Get the right trigger 2 axis value of the controller.
double GetRightX() const
Get the X axis value of right side of the controller.
Trigger Square(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the square button's digital signal.
double GetLeftX() const
Get the X axis value of left side of the controller.
Trigger Cross(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the cross button's digital signal.
Trigger L3(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the L3 (left stick) button's digital signal.
Trigger Options(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the options button's digital signal.
Trigger Circle(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the circle button's digital signal.
Trigger R1(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right trigger 1 button's digital signal.
Trigger Touchpad(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the touchpad button's digital signal.
Trigger Share(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the share button's digital signal.
double GetLeftY() const
Get the Y axis value of left side of the controller.
Trigger R2(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the right trigger 2 button's digital signal.
double GetRightY() const
Get the Y axis value of right side of the controller.
Trigger PS(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the PlayStation button's digital signal.
CommandPS4Controller(int port)
Construct an instance of a controller.
Trigger Triangle(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the triangle button's digital signal.
Trigger L2(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left trigger 2 button's digital signal.
Trigger R3(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the R3 (right stick) button's digital signal.
Trigger L1(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance around the left trigger 1 button's digital signal.
static CommandScheduler & GetInstance()
Returns the Scheduler instance.
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 PS4 controllers connected to the Driver Station.
Definition PS4Controller.h:30
Definition FunctionalCommand.h:13