Class JoystickPOVTrigger
java.lang.Object
io.github.tigerbotics7125.tigerlib.input.trigger.Trigger
io.github.tigerbotics7125.tigerlib.input.trigger.JoystickPOVTrigger
- All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
,BooleanSupplier
A
Trigger
wrapper for POV.-
Nested Class Summary
Nested classes/interfaces inherited from class io.github.tigerbotics7125.tigerlib.input.trigger.Trigger
Trigger.ActivationCondition
-
Constructor Summary
ConstructorDescriptionJoystickPOVTrigger
(edu.wpi.first.wpilibj.GenericHID joystick, int pov, int angle) -
Method Summary
-
Constructor Details
-
JoystickPOVTrigger
public JoystickPOVTrigger(edu.wpi.first.wpilibj.GenericHID joystick, int pov, int angle) - Parameters:
joystick
- The HID device to read the POV from.pov
- The pov index to read from.angle
- The angle to read from.
-