Skip to content

1681-engine / index / stopRumble

Function: stopRumble() ​

ts
function stopRumble(padIndex, pads?): Promise<void>;

Defined in: src/input/rumble.ts:70

Stops whatever the pad at padIndex is playing.

Parameters ​

ParameterTypeDefault value
padIndexnumberundefined
pads() => readonly (RumblePad | null)[]navigatorPads

Returns ​

Promise<void>

Released under the MIT License.