Package frc.spectrumLib.gamepads
package frc.spectrumLib.gamepads
-
ClassDescriptionAbstract base class for robot gamepad (Xbox-compatible) controllers.Configuration for a
Gamepadinstance, defining the DriverStation USB port, axis curve parameters, and whether the controller should be used on this robot.Which Driver Station's controller layout to read (seeGamepadLayout).Comparison type used by axis-basedTriggerfactories such asGamepad.leftYTrigger(Threshold, double).Where an Xbox controller's buttons and axes arrive, which depends on the Driver Station that sends them, not on the robot controller.Buttons shared between bare bindings and modifier chords (LB + A, RT + X, ...), resolved as one answer from the buttons held.