GamepadHapticActuator
This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.
Functions
Link copied to clipboard
suspend fun playEffect(type: GamepadHapticEffectType, params: GamepadEffectParameters = definedExternally): GamepadHapticsResult
Link copied to clipboard
fun playEffectAsync(type: GamepadHapticEffectType, params: GamepadEffectParameters = definedExternally): Promise<GamepadHapticsResult>
Link copied to clipboard
Link copied to clipboard