Skip to content

InputActionSource

Defined in: types.ts:207

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.

releaseAll(): void

Defined in: types.ts:211

Release every action held by this source.

void


setHeld(action, held): void

Defined in: types.ts:209

Start or end this source’s hold. Starting an unknown action throws.

string

boolean

void