Home > @rainway/web > XInputButtons
XInputButtons enum
A bit-mask enum for buttons on a gamepad.
Signature:
export declare enum XInputButtons
Enumeration Members
Member | Value | Description |
---|---|---|
A | 4096 | |
B | 8192 | |
Back | 32 | |
DpadDown | 2 | |
DpadLeft | 4 | |
DpadRight | 8 | |
DpadUp | 1 | |
Guide | 1024 | |
LeftBumper | 256 | |
LeftStick | 64 | |
None | 0 | |
RightBumper | 512 | |
RightStick | 128 | |
Start | 16 | |
X | 16384 | |
Y | 32768 |