此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

GamepadHapticActuator:type 属性

GamepadHapticActuator 接口的 type 只读属性返回一个表示触觉硬件类型的枚举值。

一个 GamepadHapticActuatorType 类型的枚举,当前可用的类型是:

  • vibration —— 振动硬件,产生隆隆声效果。

示例

TBC

规范

This feature does not appear to be defined in any specification.

浏览器兼容性

参见