---
title: PlayStation 4
slug: gpc/gpc-scripting-ps4-identifiers
description: Here are the Playtation 4 Identifiers.
icon: ◽
docTags: 
createdAt: 2021-12-08T17:56:06.000Z
---

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

:::hint{type="info"}
These also work for the PS5 DualSense controller.
:::

| Name          | Description                     | Value | Range       |
| ------------- | ------------------------------- | ----- | ----------- |
| PS4\_PS       | PS/Guide Button                 | 0     | 0 \| 100    |
| PS4\_SHARE    | Share Button                    | 1     | 0 \| 100    |
| PS4\_OPTIONS  | Options Button                  | 2     | 0 \| 100    |
| PS4\_R1       | Right Bumper                    | 3     | 0 \| 100    |
| PS4\_R2       | Right Trigger                   | 4     | 0 \~ 100    |
| PS4\_R3       | Right Stick                     | 5     | 0 \| 100    |
| PS4\_L1       | Left Bumper                     | 6     | 0 \| 100    |
| PS4\_L2       | Left Trigger                    | 7     | 0 \~ 100    |
| PS4\_L3       | Left Stick                      | 8     | 0 \| 100    |
| PS4\_RX       | Right Stick X-Axis (left/right) | 9     | -100 \~ 100 |
| PS4\_RY       | Right Stick Y-axis (up/down)    | 10    | -100 \~ 100 |
| PS4\_LX       | Light Stick X-axis (left/right) | 11    | -100 \~ 100 |
| PS4\_LY       | Left Stick Y-axis (up/down)     | 12    | -100 \~ 100 |
| PS4\_UP       | D-Pad Up                        | 13    | 0 \| 100    |
| PS4\_DOWN     | D-Pad Down                      | 14    | 0 \| 100    |
| PS4\_LEFT     | D-Pad Left                      | 15    | 0 \| 100    |
| PS4\_RIGHT    | D-Pad Right                     | 16    | 0 \| 100    |
| PS4\_TRIANGLE | Triangle Button                 | 17    | 0 \| 100    |
| PS4\_CIRCLE   | Circle Button                   | 18    | 0 \| 100    |
| PS4\_CROSS    | Cross Button                    | 19    | 0 \| 100    |
| PS4\_SQUARE   | Square Button                   | 20    | 0 \| 100    |
| PS4\_ACCX     | ACCX-axis (left/right)          | 21    | -25 \~ 25   |
| PS4\_ACCY     | ACCY-axis (up/down)             | 22    | -25 \~ 25   |
| PS4\_ACCZ     | ACCZ                            | 23    | -25 \~ 25   |
| PS4\_GYROX    | GYROX-axis (left/right)         | 24    | -25 \~ 25   |
| PS4\_GYROY    | GYROY-axis (up/down)            | 25    | -25 \~ 25   |
| PS4\_GYROZ    | GYROZ                           | 26    | -25 \~ 25   |
| PS4\_TOUCH    | Touch Button                    | 27    | 0 \| 100    |
| PS4\_FINGER1X | FINGER1X-axis (left/right)      | 28    | -100 \~ 100 |
| PS4\_FINGER1Y | FINGER1Y-axis (up/down)         | 29    | -100 \~ 100 |
| PS4\_FINGER1  | FINGER1                         | 30    | 0 \| 100    |
| PS4\_FINGER2X | FINGER2X-axis (left/right)      | 31    | -100 \~ 100 |
| PS4\_FINGER2Y | FINGER2Y-axis (up/down)         | 32    | -100 \~ 100 |
| PS4\_FINGER2  | FINGER2                         | 33    | 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 |

:::BlockQuote
Note: for accelerometers, every 25% represents 1G
:::

