MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

GamepadHapticActuator.type

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.

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

Syntax

var myActuatorType = gamepadHapticActuatorInstance.type;

Value

An enum of type GamepadHapticActuatorType; currently available types are:

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

Examples

TBC

Specifications

Specification Status Comment
Unknown
The definition of 'type' in that specification.
Unknown Initial definition

Browser compatibility

TBC

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills
 Last updated by: chrisdavidmills,