Skip to content

1681-engine / index / PAD_BUTTONS

Variable: PAD_BUTTONS ​

ts
const PAD_BUTTONS: readonly ["a", "b", "x", "y", "lb", "rb", "lt", "rt", "select", "start", "ls", "rs", "up", "down", "left", "right", "home"];

Defined in: src/input/Actions.ts:34

Button names of the browser's standard gamepad mapping, in index order.

Released under the MIT License.