20 using GenericHID::GenericHID;
33 .GetDefaultButtonLoop())
const;
79 .GetDefaultButtonLoop())
const;
92 .GetDefaultButtonLoop())
const;
105 .GetDefaultButtonLoop())
const;
129 .GetDefaultButtonLoop())
const;
142 .GetDefaultButtonLoop())
const;
155 .GetDefaultButtonLoop())
const;
168 .GetDefaultButtonLoop())
const;
181 .GetDefaultButtonLoop())
const;
197 int axis,
double threshold,
215 int axis,
double threshold,
A subclass of GenericHID with Trigger factories for command-based.
Definition: CommandGenericHID.h:18
Trigger POVRight(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance based around the 90 degree angle (right) of the default (index 0) POV o...
Trigger POVDown(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance based around the 180 degree angle (down) of the default (index 0) POV o...
Trigger POV(int angle, frc::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs a Trigger instance based around this angle of a POV on the HID.
Trigger POVCenter(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance based around the center (not pressed) position of the default (index 0)...
Trigger POVUpRight(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance based around the 45 degree angle (right up) of the default (index 0) PO...
Trigger Button(int button, frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs an event instance around this button's digital signal.
Trigger POVLeft(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance based around the 270 degree angle (left) of the default (index 0) POV o...
Trigger POV(int pov, int angle, frc::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs a Trigger instance based around this angle of a POV on the HID.
Trigger AxisLessThan(int axis, double threshold, frc::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs a Trigger instance that is true when the axis value is less than threshold,...
Trigger POVDownLeft(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance based around the 225 degree angle (down left) of the default (index 0) ...
Trigger POVUpLeft(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance based around the 315 degree angle (left up) of the default (index 0) PO...
Trigger AxisGreaterThan(int axis, double threshold, frc::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs a Trigger instance that is true when the axis value is greater than threshold,...
Trigger POVDownRight(frc::EventLoop *loop=CommandScheduler::GetInstance().GetDefaultButtonLoop()) const
Constructs a Trigger instance based around the 135 degree angle (right down) of the default (index 0)...
Trigger POVUp(frc::EventLoop *loop=CommandScheduler::GetInstance() .GetDefaultButtonLoop()) const
Constructs a Trigger instance based around the 0 degree angle (up) of the default (index 0) POV on th...
static CommandScheduler & GetInstance()
Returns the Scheduler instance.
This class provides an easy way to link commands to conditions.
Definition: Trigger.h:35
The loop polling BooleanEvent objects and executing the actions bound to them.
Definition: EventLoop.h:15
Handle input from standard HID devices connected to the Driver Station.
Definition: GenericHID.h:24
Definition: ProfiledPIDCommand.h:18