Gamepad buttons
Input reference

## Description

See Gamepad input for how these are used.

## Macros

#define | GLFW_GAMEPAD_BUTTON_A 0
#define | GLFW_GAMEPAD_BUTTON_B 1
#define | GLFW_GAMEPAD_BUTTON_X 2
#define | GLFW_GAMEPAD_BUTTON_Y 3
#define | GLFW_GAMEPAD_BUTTON_LEFT_BUMPER 4
#define | GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER 5
#define | GLFW_GAMEPAD_BUTTON_BACK 6
#define | GLFW_GAMEPAD_BUTTON_START 7
#define | GLFW_GAMEPAD_BUTTON_GUIDE 8
#define | GLFW_GAMEPAD_BUTTON_LEFT_THUMB 9
#define | GLFW_GAMEPAD_BUTTON_RIGHT_THUMB 10
#define | GLFW_GAMEPAD_BUTTON_DPAD_UP 11
#define | GLFW_GAMEPAD_BUTTON_DPAD_RIGHT 12
#define | GLFW_GAMEPAD_BUTTON_DPAD_DOWN 13
#define | GLFW_GAMEPAD_BUTTON_DPAD_LEFT 14
#define | GLFW_GAMEPAD_BUTTON_LAST GLFW_GAMEPAD_BUTTON_DPAD_LEFT
#define | GLFW_GAMEPAD_BUTTON_CROSS GLFW_GAMEPAD_BUTTON_A
#define | GLFW_GAMEPAD_BUTTON_CIRCLE GLFW_GAMEPAD_BUTTON_B
#define | GLFW_GAMEPAD_BUTTON_SQUARE GLFW_GAMEPAD_BUTTON_X
#define | GLFW_GAMEPAD_BUTTON_TRIANGLE GLFW_GAMEPAD_BUTTON_Y

## Macro Definition Documentation

## GLFW_GAMEPAD_BUTTON_A

#define GLFW_GAMEPAD_BUTTON_A 0

## GLFW_GAMEPAD_BUTTON_B

#define GLFW_GAMEPAD_BUTTON_B 1

## GLFW_GAMEPAD_BUTTON_X

#define GLFW_GAMEPAD_BUTTON_X 2

## GLFW_GAMEPAD_BUTTON_Y

#define GLFW_GAMEPAD_BUTTON_Y 3

## GLFW_GAMEPAD_BUTTON_LEFT_BUMPER

#define GLFW_GAMEPAD_BUTTON_LEFT_BUMPER 4

## GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER

#define GLFW_GAMEPAD_BUTTON_RIGHT_BUMPER 5

## GLFW_GAMEPAD_BUTTON_BACK

#define GLFW_GAMEPAD_BUTTON_BACK 6

## GLFW_GAMEPAD_BUTTON_START

#define GLFW_GAMEPAD_BUTTON_START 7

## GLFW_GAMEPAD_BUTTON_GUIDE

#define GLFW_GAMEPAD_BUTTON_GUIDE 8

## GLFW_GAMEPAD_BUTTON_LEFT_THUMB

#define GLFW_GAMEPAD_BUTTON_LEFT_THUMB 9

## GLFW_GAMEPAD_BUTTON_RIGHT_THUMB

#define GLFW_GAMEPAD_BUTTON_RIGHT_THUMB 10

## GLFW_GAMEPAD_BUTTON_DPAD_UP

#define GLFW_GAMEPAD_BUTTON_DPAD_UP 11

## GLFW_GAMEPAD_BUTTON_DPAD_RIGHT

#define GLFW_GAMEPAD_BUTTON_DPAD_RIGHT 12

## GLFW_GAMEPAD_BUTTON_DPAD_DOWN

#define GLFW_GAMEPAD_BUTTON_DPAD_DOWN 13

## GLFW_GAMEPAD_BUTTON_DPAD_LEFT

#define GLFW_GAMEPAD_BUTTON_DPAD_LEFT 14

## GLFW_GAMEPAD_BUTTON_LAST

#define GLFW_GAMEPAD_BUTTON_LAST GLFW_GAMEPAD_BUTTON_DPAD_LEFT

## GLFW_GAMEPAD_BUTTON_CROSS

#define GLFW_GAMEPAD_BUTTON_CROSS GLFW_GAMEPAD_BUTTON_A

## GLFW_GAMEPAD_BUTTON_CIRCLE

#define GLFW_GAMEPAD_BUTTON_CIRCLE GLFW_GAMEPAD_BUTTON_B

## GLFW_GAMEPAD_BUTTON_SQUARE

#define GLFW_GAMEPAD_BUTTON_SQUARE GLFW_GAMEPAD_BUTTON_X

## GLFW_GAMEPAD_BUTTON_TRIANGLE

#define GLFW_GAMEPAD_BUTTON_TRIANGLE GLFW_GAMEPAD_BUTTON_Y