GamepadButton

Gamepad buttons

Values

ValueMeaning
GAMEPAD_BUTTON_UNKNOWN0

Unknown button, just for error checking

GAMEPAD_BUTTON_LEFT_FACE_UP1

Gamepad left DPAD up button

GAMEPAD_BUTTON_LEFT_FACE_RIGHT2

Gamepad left DPAD right button

GAMEPAD_BUTTON_LEFT_FACE_DOWN3

Gamepad left DPAD down button

GAMEPAD_BUTTON_LEFT_FACE_LEFT4

Gamepad left DPAD left button

GAMEPAD_BUTTON_RIGHT_FACE_UP5

Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)

GAMEPAD_BUTTON_RIGHT_FACE_RIGHT6

Gamepad right button right (i.e. PS3: Square, Xbox: X)

GAMEPAD_BUTTON_RIGHT_FACE_DOWN7

Gamepad right button down (i.e. PS3: Cross, Xbox: A)

GAMEPAD_BUTTON_RIGHT_FACE_LEFT8

Gamepad right button left (i.e. PS3: Circle, Xbox: B)

GAMEPAD_BUTTON_LEFT_TRIGGER_19

Gamepad top/back trigger left (first), it could be a trailing button

GAMEPAD_BUTTON_LEFT_TRIGGER_210

Gamepad top/back trigger left (second), it could be a trailing button

GAMEPAD_BUTTON_RIGHT_TRIGGER_111

Gamepad top/back trigger right (one), it could be a trailing button

GAMEPAD_BUTTON_RIGHT_TRIGGER_212

Gamepad top/back trigger right (second), it could be a trailing button

GAMEPAD_BUTTON_MIDDLE_LEFT13

Gamepad center buttons, left one (i.e. PS3: Select)

GAMEPAD_BUTTON_MIDDLE14

Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX)

GAMEPAD_BUTTON_MIDDLE_RIGHT15

Gamepad center buttons, right one (i.e. PS3: Start)

GAMEPAD_BUTTON_LEFT_THUMB16

Gamepad joystick pressed button left

GAMEPAD_BUTTON_RIGHT_THUMB17

Gamepad joystick pressed button right

Meta