Class AnalogHIDButtonConfiguration
java.lang.Object
xbot.common.controls.sensors.buttons.AnalogHIDButtonConfiguration
-
Constructor Summary
ConstructorDescriptionAnalogHIDButtonConfiguration
(XJoystick joystick, int axisNumber, double analogMinThreshold, double analogMaxThreshold) -
Method Summary
Modifier and TypeMethodDescriptionSupplier indicates whether the analog value is in the button's range
-
Constructor Details
-
AnalogHIDButtonConfiguration
public AnalogHIDButtonConfiguration(XJoystick joystick, int axisNumber, double analogMinThreshold, double analogMaxThreshold)
-
-
Method Details
-
getSupplier
Supplier indicates whether the analog value is in the button's range- Returns:
- A supplier for the value of the joystick button
-