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 PlayStation 3 Xbox 360
0 BUTTON_1 PS Xbox PS Guide
1 BUTTON_2 Share View Select Back
2 BUTTON_3 Options Menu Start Start
3 BUTTON_4 R1 RB R1 RB
4 BUTTON_5 R2 RT R2 RT
5 BUTTON_6 R3 RS R3 RS
6 BUTTON_7 L1 LB L1 LB
7 BUTTON_8 L2 LT L2 LT
8 BUTTON_9 L3 LS L3 LS
9 BUTTON_10 DPad Up DPad Up DPad Up DPad Up
10 BUTTON_11 DPad Down DPad Down DPad Down DPad Down
11 BUTTON_12 DPad Left DPad Left DPad Left DPad Left
12 BUTTON_13 DPad Right DPad Right DPad Right DPad Right
13 BUTTON_14 Triangle Y Triangle Y
14 BUTTON_15 Circle B Circle B
15 BUTTON_16 Cross A Cross A
16 BUTTON_17 Square X Square X
17 BUTTON_18 Touch Click P1 1)
18 BUTTON_19 Touch P1 P2 2)
19 BUTTON_20 Touch P2 P3 3)
20 BUTTON_21 P4 4)
21 STICK_1_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
23 STICK_2_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
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
30 ACCEL_1_Y Accel Y Accel Y
31 ACCEL_1_Z Accel Z Accel Z
32 ACCEL_2_X
33 ACCEL_2_Y
34 ACCEL_2_Z
35 GYRO_1_X Gyro X
36 GYRO_1_Y Gyro Y
37 GYRO_1_Z Gyro Z Gyro Z
1) , 2) , 3) , 4) Xbox One Elite Controller
t2/gpc_language_reference.txt · Last modified: 2016/11/28 02:59 by J2Kbr