Controller
Defined in: Controller.ts:6
These enums loop after 31, so 32 = D_PAD_LEFT, 63 = D_PAD_LEFT, and so on.
There appears to be no input key for joystick movement.
Enumeration Members
Section titled “Enumeration Members”D_PAD_LEFT
Section titled “D_PAD_LEFT”D_PAD_LEFT:
0
Defined in: Controller.ts:7
D_PAD_RIGHT
Section titled “D_PAD_RIGHT”D_PAD_RIGHT:
1
Defined in: Controller.ts:8
D_PAD_UP
Section titled “D_PAD_UP”D_PAD_UP:
2
Defined in: Controller.ts:9
D_PAD_DOWN
Section titled “D_PAD_DOWN”D_PAD_DOWN:
3
Defined in: Controller.ts:10
BUTTON_A
Section titled “BUTTON_A”BUTTON_A:
4
Defined in: Controller.ts:13
A, X and B on Xbox, Playstation and Nintendo respectively.
BUTTON_B
Section titled “BUTTON_B”BUTTON_B:
5
Defined in: Controller.ts:16
B, O and A on Xbox, Playstation and Nintendo respectively.
BUTTON_X
Section titled “BUTTON_X”BUTTON_X:
6
Defined in: Controller.ts:19
X, square and Y on Xbox, Playstation and Nintendo respectively.
BUTTON_Y
Section titled “BUTTON_Y”BUTTON_Y:
7
Defined in: Controller.ts:22
Y, triangle and X on Xbox, Playstation and Nintendo respectively.
BUMPER_LEFT
Section titled “BUMPER_LEFT”BUMPER_LEFT:
8
Defined in: Controller.ts:25
Left shoulder button.
TRIGGER_LEFT
Section titled “TRIGGER_LEFT”TRIGGER_LEFT:
9
Defined in: Controller.ts:27
STICK_LEFT
Section titled “STICK_LEFT”STICK_LEFT:
10
Defined in: Controller.ts:28
BUMPER_RIGHT
Section titled “BUMPER_RIGHT”BUMPER_RIGHT:
11
Defined in: Controller.ts:31
Right shoulder button.
TRIGGER_RIGHT
Section titled “TRIGGER_RIGHT”TRIGGER_RIGHT:
12
Defined in: Controller.ts:33
STICK_RIGHT
Section titled “STICK_RIGHT”STICK_RIGHT:
13
Defined in: Controller.ts:34
BUTTON_BACK
Section titled “BUTTON_BACK”BUTTON_BACK:
14
Defined in: Controller.ts:37
Select, Share and - on Xbox, Playstation and Nintendo respectively.
BUTTON_START
Section titled “BUTTON_START”BUTTON_START:
15
Defined in: Controller.ts:40
Start, Options and + on Xbox, Playstation and Nintendo respectively.
