Repository navigation
API Interface MappingSpec
Defined in: src/engine/input/contextTypes.ts:60
One mapping: controls to an action.
readonly action: string;Defined in: src/engine/input/contextTypes.ts:62
The action's name; "set.Id:action" when two sets have an action of that name.
readonly composite?: "axis" | "modifier" | "dpad";Defined in: src/engine/input/contextTypes.ts:65
readonly consume?: boolean;Defined in: src/engine/input/contextTypes.ts:79
Override the action's consume setting for this mapping.
readonly control?: string;Defined in: src/engine/input/contextTypes.ts:64
A control path (<Gamepad>/leftStick). For composite: "modifier", the main control.
readonly down?: string;Defined in: src/engine/input/contextTypes.ts:68
readonly left?: string;Defined in: src/engine/input/contextTypes.ts:69
readonly modifier?: string | readonly string[];Defined in: src/engine/input/contextTypes.ts:75
modifier: the control(s) that must be held, as Shift in Shift+B.
readonly modifiers?: readonly ModifierSpec[];Defined in: src/engine/input/contextTypes.ts:76
readonly negative?: string;Defined in: src/engine/input/contextTypes.ts:72
axis parts.
readonly note?: string;Defined in: src/engine/input/contextTypes.ts:84
A note for whoever edits the context (ADR 0433): why the mapping is there. Editor-only: the Input dialog shows and writes it, and the evaluator ignores it.
readonly positive?: string;Defined in: src/engine/input/contextTypes.ts:73
readonly right?: string;Defined in: src/engine/input/contextTypes.ts:70
readonly triggers?: readonly TriggerSpec[];Defined in: src/engine/input/contextTypes.ts:77
readonly up?: string;Defined in: src/engine/input/contextTypes.ts:67
dpad parts.
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