PlayStation 5
This is a list of all PlayStation 5 input identifiers, values, and ranges.
These also work for the PS4 DualShock 4 controller.
Name | Description | Value | Range |
---|---|---|---|
PS5_PS | PS/Guide Button | 0 | 0 | 100 |
PS5_SHARE | Share Button | 1 | 0 | 100 |
PS5_OPTIONS | Options Button | 2 | 0 | 100 |
PS5_R1 | Right Bumper | 3 | 0 | 100 |
PS5_R2 | Right Trigger | 4 | 0 ~ 100 |
PS5_R3 | Right Stick | 5 | 0 | 100 |
PS5_L1 | Left Bumper | 6 | 0 | 100 |
PS5_L2 | Left Trigger | 7 | 0 ~ 100 |
PS5_L3 | Left Stick | 8 | 0 | 100 |
PS5_RX | Right stick x-axis (left/right) | 9 | -100 ~ 100 |
PS5_RY | Right stick y-axis (up/down) | 10 | -100 ~ 100 |
PS5_LX | Light stick x-axis (left/right) | 11 | -100 ~ 100 |
PS5_LY | Left stick y-axis (up/down) | 12 | -100 ~ 100 |
PS5_UP | D-Pad Up | 13 | 0 | 100 |
PS5_DOWN | D-Pad Down | 14 | 0 | 100 |
PS5_LEFT | D-Pad Left | 15 | 0 | 100 |
PS5_RIGHT | D-Pad Right | 16 | 0 | 100 |
PS5_TRIANGLE | Triangle Button | 17 | 0 | 100 |
PS5_CIRCLE | Circle Button | 18 | 0 | 100 |
PS5_CROSS | Cross Button | 19 | 0 | 100 |
PS5_SQUARE | Square Button | 20 | 0 | 100 |
PS5_ACCX | ACCX-axis (left/right) | 21 | -100 ~ 100 |
PS5_ACCY | ACCY-axis (up/down) | 22 | -100 ~ 100 |
PS5_ACCZ | ACCZ | 23 | -100 ~ 100 |
PS5_GYROX | GYROX-axis (left/right) | 24 | -100 ~ 100 |
PS5_GYROY | GYROY-axis (up/down) | 25 | -100 ~ 100 |
PS5_GYROZ | GYROZ | 26 | -100 ~ 100 |
PS5_TOUCH | Touch Button | 27 | 0 | 100 |
PS5_FINGER1X | FINGER1X-axis (left/right) | 28 | -100 ~ 100 |
PS5_FINGER1Y | FINGER1Y-axis (up/down) | 29 | -100 ~ 100 |
PS5_FINGER1 | FINGER1 | 30 | 0 | 100 |
PS5_FINGER2X | FINGER2X-axis (left/right) | 31 | -100 ~ 100 |
PS5_FINGER2Y | FINGER2Y-axis (up/down) | 32 | -100 ~ 100 |
PS5_FINGER2 | FINGER2 | 33 | 0 | 100 |
PS5_MUTE | Microphone Mute Button | 50 | 0 | 100 |
These are for Dualsense and Dualsense Edge Adaptive Triggers
Name | Description | Value | Range |
---|---|---|---|
PS5_ADT_MODE | Mode which sets the general feel of trigger | 0 | 0 ~ 255 |
PS5_ADT_NR | Adaptive NR | 0 | 0 ~ 255 |
PS5_ADT_CR | Adaptive CR | 1 | 0 ~ 255 |
PS5_ADT_SR | Adaptive SR | 2 | 0 ~ 255 |
PS5_ADT_OFF | Default value used for mode | 0x05 | 0 ~ 255 |
PS5_ADT_START | Point at where trigger effect starts | 1 | 0 ~ 255 |
PS5_ADT_FORCE1 | Primary Trigger Force | 2 | 0 ~ 255 |
PS5_ADT_FORCE2 | Secondary Trigger Force | 3 | 0 ~ 255 |
PS5_ADT_STRENGTH_LOW | Weak vibration strength | 4 | 0 ~ 255 |
PS5_ADT_STRENGTH_MID | Moderate vibration strength | 5 | 0 ~ 255 |
PS5_ADT_STRENGTH_HIGH | High vibration strength | 6 | 0 ~ 255 |
PS5_ADT_FREQ | Pace at which vibration occurs | 9 | 0 ~ 255 |
Range | Meaning |
---|---|
0 | 100 | Either 0 or 100 |
0 ~ 100 | Any value between 0 and 100 |
-100 ~ 100 | Any value between -100 and 100 |