Enum Class ButtonNames.Style

java.lang.Object
java.lang.Enum<ButtonNames.Style>
com.crossbotics.ftchelper.gamepad.ButtonNames.Style
All Implemented Interfaces:
Serializable, Comparable<ButtonNames.Style>, Constable
Enclosing class:
ButtonNames

public static enum ButtonNames.Style extends Enum<ButtonNames.Style>
The kind of names a controller has printed on it.
  • Enum Constant Details

    • LETTERS

      public static final ButtonNames.Style LETTERS
      A, B, X, Y, LB, RB, LT, RT, BACK, START, GUIDE: Logitech F310, Xbox, and any unknown controller.
    • PLAYSTATION

      public static final ButtonNames.Style PLAYSTATION
      ×, ○, □, △, L1, R1, L2, R2, SHARE, OPTIONS, PS: PS4, PS5 and PS-style controllers.
  • Method Details

    • values

      public static ButtonNames.Style[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ButtonNames.Style valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null