Class GamepadHapticActuator

Represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware.

Implements

Constructors

Properties

Methods

Constructors

Properties

type: "vibration"

Methods

  • Parameters

    Returns Promise<GamepadHapticsResult>

  • Parameters

    • duration: number
    • Optionaldelay: number

    Returns void

  • Returns Promise<GamepadHapticsResult>