Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GamepadHapticActuator

This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.

Hierarchy

  • GamepadHapticActuator

Index

Properties

Methods

Properties

Readonly type

Methods

pulse

  • pulse(value: number, duration: number): Promise<boolean>
  • Parameters

    • value: number
    • duration: number

    Returns Promise<boolean>

Generated using TypeDoc