Class AnalogHIDButtonConfiguration

java.lang.Object
xbot.common.controls.sensors.buttons.AnalogHIDButtonConfiguration

public class AnalogHIDButtonConfiguration extends Object
  • Constructor Details

    • AnalogHIDButtonConfiguration

      public AnalogHIDButtonConfiguration(XJoystick joystick, int axisNumber, double analogMinThreshold, double analogMaxThreshold)
  • Method Details

    • getSupplier

      public BooleanSupplier getSupplier()
      Supplier indicates whether the analog value is in the button's range
      Returns:
      A supplier for the value of the joystick button