Repository navigation
API Interface DeviceEvent
github-actions[bot] edited this page Nov 24, 2026
·
1 revision
Defined in: src/engine/input/deviceEntities.ts:75
One raw device event this frame: a key, a pointer button, a gamepad button, or an axis crossing the press point.
readonly control: string;Defined in: src/engine/input/deviceEntities.ts:79
The control path, e.g. <Keyboard>/space, <Gamepad>/buttonSouth, <Gamepad>/leftStickX, <Touch>/touch0, <Pen>/tip.
readonly device: GameObject;Defined in: src/engine/input/deviceEntities.ts:77
The device's node.
readonly time: number;Defined in: src/engine/input/deviceEntities.ts:82
performance.now() milliseconds.
readonly value: number;Defined in: src/engine/input/deviceEntities.ts:80
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