GPC Developer Guides
...
Constants
Controller

Xbox 360

This is a list of all Xbox 360 input identifiers, their values, and range

Name

Description

Value

Range

XB360_XBOX

Xbox/Guide button

0

0 | 100

XB360_BACK

Back button

1

0 | 100

XB360_START

Start button

2

0 | 100

XB360_RB

Right bumper

3

0 | 100

XB360_RT

Right trigger

4

0 ~ 100

XB360_RS

Right stick (click)

5

0 | 100

XB360_LB

Left bumper

6

0 | 100

XB360_LT

Left trigger

7

0 ~ 100

XB360_LS

Left stick (click)

8

0 | 100

XB360_RX

Right stick x-axis (left/right)

9

-100 ~ 100

XB360_RY

Right stick y-axis (up/down)

10

-100 ~ 100

XB360_LX

Left stick x-axis (left/right)

11

-100 ~ 100

XB360_LY

Left stick y-axis (up/down)

12

-100 ~ 100

XB360_UP

D-pad up button

13

0 | 100

XB360_DOWN

D-pad down button

14

0 | 100

XB360_LEFT

D-pad left button

15

0 | 100

XB360_RIGHT

D-pad right button

16

0 | 100

XB360_Y

Y (Yellow) button

17

0 | 100

XB360_B

B (Red) button

18

0 | 100

XB360_A

A (Green) button

19

0 | 100

XB360_X

X (Blue) button

20

0 | 100

Value range explanation:

Range

Meaning

0 | 100

Either 0 or 100

0 ~ 100

Any value between 0 and 100

-100 ~ 100

Any value between -100 and 100