Class ButtonAsAxis
java.lang.Object
org.firstinspires.ftc.teamcode.framework.ctlpad.primitives.axes.ButtonAsAxis
- All Implemented Interfaces:
Axis
Makes a physical gamepad button act as an axis.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.firstinspires.ftc.teamcode.framework.ctlpad.primitives.Axis
Axis.DoubleLambda
-
Constructor Summary
ConstructorsConstructorDescriptionButtonAsAxis
(Button button) Pass in an existingButton
ButtonAsAxis
(Button button, double scalingFactor) In practice, the scaling factor is the output value. -
Method Summary