dom / latest / gamepadhapticactuator / type.html /

GamepadHapticActuator.type

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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
No
68
68
55
48
No
10.0

See also

© 2005–2021 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