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.
Methods
Section titled “Methods”releaseAll()
Section titled “releaseAll()”releaseAll():
void
Defined in: types.ts:211
Release every action held by this source.
Returns
Section titled “Returns”void
setHeld()
Section titled “setHeld()”setHeld(
action,held):void
Defined in: types.ts:209
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