GamepadButton enum
Gamepad buttons.
Constructors
- GamepadButton()
-
const
Values
- unknown → const GamepadButton
-
Unknown button, just for error checking.
- leftFaceUp → const GamepadButton
-
Gamepad left DPAD up button.
- leftFaceRight → const GamepadButton
-
Gamepad left DPAD right button.
- leftFaceDown → const GamepadButton
-
Gamepad left DPAD down button.
- leftFaceLeft → const GamepadButton
-
Gamepad left DPAD left button.
- rightFaceUp → const GamepadButton
-
Gamepad right button up (i.e. PS3: Triangle, Xbox: Y).
- rightFaceright → const GamepadButton
-
Gamepad right button right (i.e. PS3: Square, Xbox: X).
- rightFaceDown → const GamepadButton
-
Gamepad right button down (i.e. PS3: Cross, Xbox: A).
- rightFaceLeft → const GamepadButton
-
Gamepad right button left (i.e. PS3: Circle, Xbox: B).
- leftTrigger1 → const GamepadButton
-
Gamepad top/back trigger left (first), it could be a trailing button.
- leftTrigger2 → const GamepadButton
-
Gamepad top/back trigger left (second), it could be a trailing button.
- rightTrigger1 → const GamepadButton
-
Gamepad top/back trigger right (one), it could be a trailing button.
- rightTrigger2 → const GamepadButton
-
Gamepad top/back trigger right (second), it could be a trailing button.
- middleLeft → const GamepadButton
-
Gamepad center buttons, left one (i.e. PS3: Select).
- middle → const GamepadButton
-
Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX).
- middleRight → const GamepadButton
-
Gamepad center buttons, right one (i.e. PS3: Start).
- leftThumb → const GamepadButton
-
Gamepad joystick pressed button left.
- rightThumb → const GamepadButton
-
Gamepad joystick pressed button right.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
GamepadButton> - A constant List of the values in this enum, in order of their declaration.