InputActionSource
Defined in: types.ts:230
An independently releasable producer of sustained action presses.
Create one per virtual device or automation driver. Two sources can hold the same action without either source releasing the other’s press.
Methods
Section titled “Methods”releaseAll()
Section titled “releaseAll()”releaseAll():
void
Defined in: types.ts:234
Release every action held by this source.
Returns
Section titled “Returns”void
setHeld()
Section titled “setHeld()”setHeld(
action,held):void
Defined in: types.ts:232
Start or end this source’s hold. Starting an unknown action throws.
Parameters
Section titled “Parameters”action
Section titled “action”string
boolean
Returns
Section titled “Returns”void
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/input.md.