Class Gamepad.Config

java.lang.Object
frc.spectrumLib.gamepads.Gamepad.Config
Direct Known Subclasses:
Operator.OperatorConfig, Pilot.PilotConfig
Enclosing class:
Gamepad

public static class Gamepad.Config extends Object
  • Constructor Details

    • Config

      public Config(String name, int port)
  • Method Details

    • getName

      public String getName()
    • getPort

      public int getPort()
    • isAttached

      public boolean isAttached()
    • setAttached

      public Gamepad.Config setAttached(boolean attached)
      Returns:
      this.
    • getLeftStickDeadzone

      public double getLeftStickDeadzone()
    • setLeftStickDeadzone

      public Gamepad.Config setLeftStickDeadzone(double leftStickDeadzone)
      Returns:
      this.
    • getLeftStickExp

      public double getLeftStickExp()
    • setLeftStickExp

      public Gamepad.Config setLeftStickExp(double leftStickExp)
      Returns:
      this.
    • getLeftStickScalar

      public double getLeftStickScalar()
    • setLeftStickScalar

      public Gamepad.Config setLeftStickScalar(double leftStickScalar)
      Returns:
      this.
    • getRightStickDeadzone

      public double getRightStickDeadzone()
    • setRightStickDeadzone

      public Gamepad.Config setRightStickDeadzone(double rightStickDeadzone)
      Returns:
      this.
    • getRightStickExp

      public double getRightStickExp()
    • setRightStickExp

      public Gamepad.Config setRightStickExp(double rightStickExp)
      Returns:
      this.
    • getRightStickScalar

      public double getRightStickScalar()
    • setRightStickScalar

      public Gamepad.Config setRightStickScalar(double rightStickScalar)
      Returns:
      this.
    • getTriggersDeadzone

      public double getTriggersDeadzone()
    • setTriggersDeadzone

      public Gamepad.Config setTriggersDeadzone(double triggersDeadzone)
      Returns:
      this.
    • getTriggersExp

      public double getTriggersExp()
    • setTriggersExp

      public Gamepad.Config setTriggersExp(double triggersExp)
      Returns:
      this.
    • getTriggersScalar

      public double getTriggersScalar()
    • setTriggersScalar

      public Gamepad.Config setTriggersScalar(double triggersScalar)
      Returns:
      this.