31 :
Trigger([joystick, angle, povNumber] {
32 return joystick->
GetPOV(povNumber) == angle;
POVDirection
A controller POV direction.
Definition DriverStation.hpp:62
Handle input from standard HID devices connected to the Driver Station.
Definition GenericHID.hpp:26
DriverStation::POVDirection GetPOV(int pov=0) const
Get the angle of a POV on the HID.
Trigger(std::function< bool()> condition)
Creates a new trigger based on the given condition.
Definition Trigger.hpp:40
Definition CommandNiDsStadiaController.hpp:15