GamepadButton¶
Import: import system.window;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
GamepadButton¶
A button on a standard-layout gamepad. The four face buttons are named by position, so South is A on an Xbox controller and Cross on a PlayStation controller.
South¶
The bottom face button (Xbox A, PlayStation Cross).
East¶
The right face button (Xbox B, PlayStation Circle).
West¶
The left face button (Xbox X, PlayStation Square).
North¶
The top face button (Xbox Y, PlayStation Triangle).
LeftBumper¶
The left shoulder button.
RightBumper¶
The right shoulder button.
Back¶
The Back, View, Select or Share button.
Start¶
The Start, Menu or Options button.
Guide¶
The central logo button. Some browsers and operating systems keep it for themselves.
LeftThumb¶
Pressing the left stick.
RightThumb¶
Pressing the right stick.
DpadUp¶
Up on the directional pad.
DpadRight¶
Right on the directional pad.
DpadDown¶
Down on the directional pad.
DpadLeft¶
Left on the directional pad.