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

type: "vibration"

Methods

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

    • value: number
    • duration: number

    Returns Promise<boolean>

Generated using TypeDoc