31 :
Trigger([joystick, angle, povNumber] {
32 return joystick->
GetPOV(povNumber) == angle;
Handle input from standard HID devices connected to the Driver Station.
Definition GenericHID.hpp:28
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
POVDirection
A controller POV direction.
Definition POVDirection.hpp:18