Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.5.3/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>