Class Logitech.XMode

All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable
Enclosing class:
Logitech

public static class Logitech.XMode extends Xbox
There is a switch on the back of the controller this is for when the switch is in the X position.

Because of the use of XInput, this is equivilant to using Xbox. However if you are using a logitech controller on XMode, use this class for readability.

  • Constructor Details

    • XMode

      public XMode(int port)
    • XMode

      public XMode(edu.wpi.first.wpilibj.XboxController joystick)
  • Method Details

    • getGamepadName

      public String getGamepadName()
      Overrides:
      getGamepadName in class Xbox
      Returns:
      The name of the gamepad being used