GPC Developer Guides
...
Constants
Controller

PlayStation 3

This is a list of all PlayStation 3 input identifiers, values, and ranges.

Name

Description

Value

Range

PS3_PS

PS/Guide Button

0

0 | 100

PS3_SELECT

Select Button

1

0 | 100

PS3_START

Start Button

2

0 | 100

PS3_R1

Right Bumper

3

0 ~ 100

PS3_R2

Right Trigger

4

0 ~ 100

PS3_R3

Right Stick

5

0 | 100

PS3_L1

Left Bumper

6

0 ~ 100

PS3_L2

Left Trigger

7

0 ~ 100

PS3_LS

Left Stick

8

0 ~ 100

PS3_RX

Right Stick X-Axis (left/right)

9

-100 ~ 100

PS3_RY

Right Stick Y-Axis (up/down)

10

-100 ~ 100

PS3_LX

Light Stick X-Axis (left/right)

11

-100 ~ 100

PS3_LY

Left Stick Y-Axis (up/down)

12

-100 ~ 100

PS3_UP

D-Pad Up

13

0 | 100

PS3_DOWN

D-Pad Down

14

0 | 100

PS3_LEFT

D-Pad Left

15

0 | 100

PS3_RIGHT

D-Pad Right

16

0 | 100

PS3_TRIANGLE

Triangle Button

17

0 ~ 100

PS3_CIRCLE

Circle Button

18

0 ~ 100

PS3_CROSS

Cross Button

19

0 ~ 100

PS3_SQUARE

Square Button

20

0 ~ 100

PS3_ACCX

Accelerometer X-Axis (left/right)

21

-100 ~ 100

PS3_ACCY

Accelerometer Y-Axis (up/down)

22

-100 ~ 100

PS3_ACCZ

Accelerometer Z-Axis

23

-100 ~ 100

PS3_GYRO

GYROSCOPE

24

-100 ~ 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

Note: for accelerometers, every 25% represents 1G