API Referenceatlas
ControllerButton
Standard gamepad button identifiers.
Module: atlas
Standard gamepad button identifiers.
Declaration
export enum ControllerButton {
/**
* Identifies the a gamepad button.
*/
A = 0,
/**
* Identifies the b gamepad button.
*/
B,
/**
* Identifies the X gamepad button.
*/
X,
/**
* Identifies the Y gamepad button.
*/
Y,
/**
* Identifies the left bumper gamepad button.
*/
LeftBumper,
/**
* Identifies the right bumper gamepad button.
*/
RightBumper,
/**
* Identifies the back gamepad button.
*/
Back,
/**
* Identifies the start gamepad button.
*/
Start,
/**
* Identifies the guide gamepad button.
*/
Guide,
/**
* Identifies the left thumb gamepad button.
*/
LeftThumb,
/**
* Identifies the right thumb gamepad button.
*/
RightThumb,
/**
* Identifies the d pad up gamepad button.
*/
DPadUp,
/**
* Identifies the d pad right gamepad button.
*/
DPadRight,
/**
* Identifies the d pad down gamepad button.
*/
DPadDown,
/**
* Identifies the d pad left gamepad button.
*/
DPadLeft,
/**
* Identifies the button count gamepad button.
*/
ButtonCount,
}Values
A
Identifies the a gamepad button.
A = 0B
Identifies the b gamepad button.
BX
Identifies the X gamepad button.
XY
Identifies the Y gamepad button.
YLeftBumper
Identifies the left bumper gamepad button.
LeftBumperRightBumper
Identifies the right bumper gamepad button.
RightBumperBack
Identifies the back gamepad button.
BackStart
Identifies the start gamepad button.
StartGuide
Identifies the guide gamepad button.
GuideLeftThumb
Identifies the left thumb gamepad button.
LeftThumbRightThumb
Identifies the right thumb gamepad button.
RightThumbDPadUp
Identifies the d pad up gamepad button.
DPadUpDPadRight
Identifies the d pad right gamepad button.
DPadRightDPadDown
Identifies the d pad down gamepad button.
DPadDownDPadLeft
Identifies the d pad left gamepad button.
DPadLeftButtonCount
Identifies the button count gamepad button.
ButtonCount