32 :
Trigger([joystick, angle, povNumber] {
33 return joystick->
GetPOV(povNumber) == angle;
This class provides an easy way to link commands to conditions.
Definition Trigger.h:32
POVDirection
A controller POV direction.
Definition DriverStation.h:55
Handle input from standard HID devices connected to the Driver Station.
Definition GenericHID.h:26
DriverStation::POVDirection GetPOV(int pov=0) const
Get the angle of a POV on the HID.
Definition FunctionalCommand.h:13