Package org.firstinspires.ftc.teamcode.fy23.gamepad2.primitives.axes
package org.firstinspires.ftc.teamcode.fy23.gamepad2.primitives.axes
-
ClassDescriptionMakes a physical gamepad button act as an axis.Represents an axis on a
Gamepad
, including sticks and triggers, and reports the value taken to the power specified in the constructor (this creates a simple response curve - find out what it is by graphing y=x^[power] - y=x^2, for example)Represents an axis on a gamepad, including sticks or triggers, and directly reports the value.Use this to combine two axes that only run from 0 to 1 into one axis that runs from -1 to 1.Makes two physical gamepad buttons act as an axis (one is positive, one is negative).