W3cubDocs

/Web APIs

GamepadHapticActuator: type property

The type read-only property of the GamepadHapticActuator interface returns an enum representing the type of the haptic hardware.

Value

An enum of type GamepadHapticActuatorType; currently available types are:

  • vibration — vibration hardware, which creates a rumbling effect.

Examples

TBC

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
type 68 15 55 No 55 16.4 68 68 55 48 16.4 10.0

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/GamepadHapticActuator/type