t2:gpc_language_reference

GPC Language Reference


The GPC script language comes standard with many built-in functions and commands.

The name of all internal functions and commands are restricted keywords and cannot be used to declare variables or other functions.

Idx GPC PlayStation 4 Xbox One Switch PlayStation 3 Xbox 360
0 BUTTON_1 PS Xbox Home PS Guide
1 BUTTON_2 Touch Click View Minus Select Back
2 BUTTON_3 Options Menu Plus Start Start
3 BUTTON_4 R1 RB R R1 RB
4 BUTTON_5 R2 RT ZR R2 RT
5 BUTTON_6 R3 RS SR R3 RS
6 BUTTON_7 L1 LB L L1 LB
7 BUTTON_8 L2 LT ZL L2 LT
8 BUTTON_9 L3 LS SL L3 LS
9 BUTTON_10 DPad Up DPad Up DPad Up DPad Up DPad Up
10 BUTTON_11 DPad Down DPad Down DPad Down DPad Down DPad Down
11 BUTTON_12 DPad Left DPad Left DPad Left DPad Left DPad Left
12 BUTTON_13 DPad Right DPad Right DPad Right DPad Right DPad Right
13 BUTTON_14 Triangle Y X Triangle Y
14 BUTTON_15 Circle B A Circle B
15 BUTTON_16 Cross A B Cross A
16 BUTTON_17 Square X Y Square X
17 BUTTON_18 Share Capture
18 BUTTON_19 Touch P1
19 BUTTON_20 Touch P2
20 BUTTON_21 Sync
21 STICK_1_X Right Stick X Right Stick X Right Stick X Right Stick X Right Stick X
22 STICK_1_Y Right Stick Y Right Stick Y Right Stick Y Right Stick Y Right Stick Y
23 STICK_2_X Left Stick X Left Stick X Left Stick X Left Stick X Left Stick X
24 STICK_2_Y Left Stick Y Left Stick Y Left Stick Y Left Stick Y Left Stick Y
25 POINT_1_X Touch P1 X
26 POINT_1_Y Touch P1 Y
27 POINT_2_X Touch P2 X
28 POINT_2_Y Touch P2 Y
29 ACCEL_1_X Accel X Accel X Accel X
30 ACCEL_1_Y Accel Y Accel Y Accel Y
31 ACCEL_1_Z Accel Z Accel Z Accel Z
32 ACCEL_2_X
33 ACCEL_2_Y
34 ACCEL_2_Z
35 GYRO_1_X Gyro X Gyro X
36 GYRO_1_Y Gyro Y Gyro Y
37 GYRO_1_Z Gyro Z Gyro Z Gyro Z
38 PADDLE_1 P1 1)
39 PADDLE_2 P2 2)
40 PADDLE_3 P3 3)
41 PADDLE_4 P4 4)
1) , 2) , 3) , 4) Xbox One Elite Controller
t2/gpc_language_reference.txt · Last modified: 2020/04/15 11:40 by J2Kbr

(This work is NOT endorsed by, sponsored by, or affiliated with any game publisher or trademark holder. All trademarks are the property of their respective owners. Some game publishers may restrict the use of third-party peripherals; please refer to the applicable game's Terms of Use. Users are responsible for ensuring their compliance with any applicable game rules or restrictions.)