ConstReadonlyA: 0Bottom face button — A on Xbox, × on PlayStation.
ReadonlyB: 1Right face button — B on Xbox, ○ on PlayStation.
ReadonlyDOWN: 13D-pad down.
ReadonlyGUIDE: 16Guide / Home / PS button. Not exposed by all browsers.
ReadonlyLB: 4Left bumper / shoulder.
ReadonlyLEFT: 14D-pad left.
ReadonlyLEFT_STICK: 10Left stick click (L3).
ReadonlyLT: 6Left trigger. The digital pressed-state lives here; the analog value is on the underlying Gamepad.buttons[6].value.
ReadonlyRB: 5Right bumper / shoulder.
ReadonlyRIGHT: 15D-pad right.
ReadonlyRIGHT_STICK: 11Right stick click (R3).
ReadonlyRT: 7Right trigger. The digital pressed-state lives here; the analog value is on the underlying Gamepad.buttons[7].value.
ReadonlySELECT: 8Back / Select / Share.
ReadonlySTART: 9Start / Options / Menu.
ReadonlyUP: 12D-pad up.
ReadonlyX: 2Left face button — X on Xbox, □ on PlayStation.
ReadonlyY: 3Top face button — Y on Xbox, △ on PlayStation.
Button indices for the standard gamepad mapping (W3C Gamepad spec). Use as the index into Controller.buttons.