Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,15 @@ <h3>
<li>Let |navigator:Navigator| be |gamepad|'s [=relevant global
object=]'s {{Navigator}} object.
</li>
<li>Let |document:Document?| be |gamepad|'s [=relevant global
object=]'s [=associated `Document`=]; otherwise `null`.
Comment thread
nondebug marked this conversation as resolved.
</li>
<li>If |document| is `null`, abort these steps.
</li>
<li>If |navigator|.{{Navigator/[[hasGamepadGesture]]}} is `false` and
|gamepad| [=contains a gamepad user gesture=]:
|document| is a [=Document/fully active descendant of a top-level
traversable with user attention=] and |gamepad| [=contains a gamepad
Comment thread
marcoscaceres marked this conversation as resolved.
user gesture=]:
Comment thread
marcoscaceres marked this conversation as resolved.
<ol>
<li>Set |navigator|.{{Navigator/[[hasGamepadGesture]]}} to
`true`.
Expand All @@ -818,10 +825,6 @@ <h3>
<li>Set |connectedGamepad|.{{Gamepad/[[timestamp]]}} to
|now|.
</li>
<li>Let |document:Document?| be |gamepad|'s [=relevant
global object=]'s [=associated `Document`=]; otherwise
`null`.
</li>
<li>If |document| is not `null` and is [=Document/fully
active=], then [=queue a global task=] on the [=gamepad
task source=] to [=fire an event=] named
Expand Down
Loading