Skip to main content
Module

x/evt/lib/types/lib.dom.ts>GamepadHapticActuator

💧EventEmitter's typesafe replacement
Go to Latest
interface GamepadHapticActuator
import { type GamepadHapticActuator } from "https://deno.land/x/evt@v2.3.1/lib/types/lib.dom.ts";

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

Methods

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