Repository navigation
API Variable GAMEPAD_BUTTONS
github-actions[bot] edited this page Nov 24, 2026
·
1 revision
const GAMEPAD_BUTTONS: readonly ["buttonSouth", "buttonEast", "buttonWest", "buttonNorth", "leftShoulder", "rightShoulder", "leftTrigger", "rightTrigger", "select", "start", "leftStickPress", "rightStickPress", "dpadUp", "dpadDown", "dpadLeft", "dpadRight", "home", "misc1", "rightPaddle1", "leftPaddle1", "rightPaddle2", "leftPaddle2", "touchpadPress"];Defined in: src/engine/input/controls.ts:20
Gamepad buttons in wire order. Triggers (6, 7) are analog, 0..1.
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference