GameControllerButton enum

SDL_GameControllerButton.

Inheritance

Constructors

GameControllerButton()
const

Values

invalid → const GameControllerButton

SDL_CONTROLLER_BUTTON_INVALID = -1

a → const GameControllerButton

SDL_CONTROLLER_BUTTON_A = 0

b → const GameControllerButton

SDL_CONTROLLER_BUTTON_B = 1

x → const GameControllerButton

SDL_CONTROLLER_BUTTON_X = 2

y → const GameControllerButton

SDL_CONTROLLER_BUTTON_Y = 3

back → const GameControllerButton

SDL_CONTROLLER_BUTTON_BACK = 4

guide → const GameControllerButton

SDL_CONTROLLER_BUTTON_GUIDE = 5

start → const GameControllerButton

SDL_CONTROLLER_BUTTON_START = 6

leftstick → const GameControllerButton

SDL_CONTROLLER_BUTTON_LEFTSTICK = 7

rightstick → const GameControllerButton

SDL_CONTROLLER_BUTTON_RIGHTSTICK = 8

leftshoulder → const GameControllerButton

SDL_CONTROLLER_BUTTON_LEFTSHOULDER = 9

rightshoulder → const GameControllerButton

SDL_CONTROLLER_BUTTON_RIGHTSHOULDER = 10

dpadUp → const GameControllerButton

SDL_CONTROLLER_BUTTON_DPAD_UP = 11

dpadDown → const GameControllerButton

SDL_CONTROLLER_BUTTON_DPAD_DOWN = 12

dpadLeft → const GameControllerButton

SDL_CONTROLLER_BUTTON_DPAD_LEFT = 13

dpadRight → const GameControllerButton

SDL_CONTROLLER_BUTTON_DPAD_RIGHT = 14

misc1 → const GameControllerButton

SDL_CONTROLLER_BUTTON_MISC1 = 15

paddle1 → const GameControllerButton

SDL_CONTROLLER_BUTTON_PADDLE1 = 16

paddle2 → const GameControllerButton

SDL_CONTROLLER_BUTTON_PADDLE2 = 17

paddle3 → const GameControllerButton

SDL_CONTROLLER_BUTTON_PADDLE3 = 18

paddle4 → const GameControllerButton

SDL_CONTROLLER_BUTTON_PADDLE4 = 19

touchpad → const GameControllerButton

SDL_CONTROLLER_BUTTON_TOUCHPAD = 20

max → const GameControllerButton

SDL_CONTROLLER_BUTTON_MAX = 21

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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<GameControllerButton>
A constant List of the values in this enum, in order of their declaration.