On this page
Controller constant

ps4.r1

PS4 controller-name constant for the r1 control.

Syntax

Atlas Script
ps4.r1

Value

ps4.r1 identifies the r1 control on PS4 hardware.

Remarks

PS4 controller-name constant for the r1 control. Use it with input.get, input.pressed, input.held, input.released, or the matching output APIs.

Examples

Atlas Script
event on_input() {
    var value = input.get(ps4.r1);
}
Reference details are generated from the Atlas Script schema in this documentation source snapshot. Confirm release-specific behavior in the Atlas for Windows build you use.