playEffect method
The playEffect()
method of the GamepadHapticActuator interface
makes the hardware play a specific vibration pattern.
Implementation
external JSPromise<JSString> playEffect(
GamepadHapticEffectType type, [
GamepadEffectParameters params,
]);