GamepadHapticActuator.type

Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。

GamepadHapticActuator インターフェイスの type 読み取り専用プロパティは、触覚ハードウェアの型を表す列挙型を返します。

構文

js
var myActuatorType = gamepadHapticActuatorInstance.type;

列挙型 GamepadHapticActuatorType; 現在利用な型は次の通りです:

  • vibration — 振動のハードウェアで、ゴロゴロとした効果を生み出します。

TBC

仕様書

No specification found

No specification data found for api.GamepadHapticActuator.type.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
type
DeprecatedNon-standard

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Non-standard. Check cross-browser support before using.
Deprecated. Not for use in new websites.

関連情報