Enum Class PadButton

java.lang.Object
java.lang.Enum<PadButton>
wiiuu.input.PadButton
All Implemented Interfaces:
Serializable, Comparable<PadButton>, Constable

public enum PadButton extends Enum<PadButton>
Every input the phone gamepad can send. Stick directions are digital "virtual buttons".
  • Enum Constant Details

    • A

      public static final PadButton A
    • B

      public static final PadButton B
    • X

      public static final PadButton X
    • Y

      public static final PadButton Y
    • L

      public static final PadButton L
    • R

      public static final PadButton R
    • ZL

      public static final PadButton ZL
    • ZR

      public static final PadButton ZR
    • PLUS

      public static final PadButton PLUS
    • MINUS

      public static final PadButton MINUS
    • HOME

      public static final PadButton HOME
    • UP

      public static final PadButton UP
    • DOWN

      public static final PadButton DOWN
    • LEFT

      public static final PadButton LEFT
    • L3

      public static final PadButton L3
    • R3

      public static final PadButton R3
    • LS_UP

      public static final PadButton LS_UP
    • LS_DOWN

      public static final PadButton LS_DOWN
    • LS_LEFT

      public static final PadButton LS_LEFT
    • LS_RIGHT

      public static final PadButton LS_RIGHT
    • RS_UP

      public static final PadButton RS_UP
    • RS_DOWN

      public static final PadButton RS_DOWN
    • RS_LEFT

      public static final PadButton RS_LEFT
    • RS_RIGHT

      public static final PadButton RS_RIGHT
    • BUZZ_RED

      public static final PadButton BUZZ_RED
      Buzz! buzzers (Buzz! mode): the big red button and the four answer buttons
    • BUZZ_BLUE

      public static final PadButton BUZZ_BLUE
    • BUZZ_ORANGE

      public static final PadButton BUZZ_ORANGE
    • BUZZ_GREEN

      public static final PadButton BUZZ_GREEN
    • BUZZ_YELLOW

      public static final PadButton BUZZ_YELLOW
  • Method Details

    • values

      public static PadButton[] 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 PadButton 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
    • parse

      public static PadButton parse(String s)
    • isBuzz

      public boolean isBuzz()
    • isDirection

      public boolean isDirection()