aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/gamepad/hand/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/gamepad/hand/index.html
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/gamepad/hand/index.html')
-rw-r--r--files/ja/web/api/gamepad/hand/index.html61
1 files changed, 61 insertions, 0 deletions
diff --git a/files/ja/web/api/gamepad/hand/index.html b/files/ja/web/api/gamepad/hand/index.html
new file mode 100644
index 0000000000..605d0dbe66
--- /dev/null
+++ b/files/ja/web/api/gamepad/hand/index.html
@@ -0,0 +1,61 @@
+---
+title: Gamepad.hand
+slug: Web/API/Gamepad/hand
+tags:
+ - API
+ - Experimental
+ - Gamepad
+ - Gamepad API
+ - Property
+ - Reference
+ - hand
+translation_of: Web/API/Gamepad/hand
+---
+<div>{{APIRef("Gamepad")}}{{SeeCompatTable}}</div>
+
+<p>{{domxref("Gamepad")}} インターフェイスの <strong><code>hand</code></strong> 読み取り専用プロパティは、コントローラが握られている手または、握られている可能性が最も高い手を定義する列挙型を返します。</p>
+
+<h2 id="構文">構文</h2>
+
+<pre class="brush: js notranslate">var myHand = gamepadInstance.hand;</pre>
+
+<h3 id="値">値</h3>
+
+<p><code><a href="https://w3c.github.io/gamepad/extensions.html#gamepadhand-enum">GamepadHand</a></code> 列挙型; 可能な値は次の通りです:</p>
+
+<ul>
+ <li><code>left</code> — 左手。</li>
+ <li><code>right</code> — 右手。</li>
+ <li>空文字 ("") — この値は、他の値が適用できない場合に返されます。コントローラは両手で持っているか、またはどちらでも結構です。</li>
+</ul>
+
+<h2 id="例">例</h2>
+
+<p>TBC</p>
+
+<h2 id="仕様">仕様</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">仕様</th>
+ <th scope="col">ステータス</th>
+ <th scope="col">備考</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('GamepadExtensions', '#dom-gamepad-hand', 'hand')}}</td>
+ <td>{{Spec2('GamepadExtensions')}}</td>
+ <td>初回定義</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>
+
+<p>{{Compat("api.Gamepad.hand")}}</p>
+
+<h2 id="関連項目">関連項目</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web/API/Gamepad_API">Gamepad API</a></li>
+</ul>