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

public class JoystickPOVTrigger extends Trigger
A Trigger wrapper for POV.
  • 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.