Skip to content

Commit

Permalink
Update initialization of touchEvents.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyneedham committed May 5, 2023
1 parent 8fe5ed0 commit 218799f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -1114,13 +1114,13 @@ <h3>
<ol>
<li>Let |gamepad:Gamepad| be a newly created {{Gamepad}} instance:
<ol>
<li>Initialize |gamepad|'s {{Gamepad/touchEvents}} to the result of
[=updating touchEvents=] for |gamepad|.
<li>If the |gamepad| has touch surfaces, initialize |gamepad|'s {{Gamepad/touchEvents}}
to an empty [=list=].
</li>
<li>Otherwise, initialize |gamepad|'s {{Gamepad/touchEvents}} <code>null</code>.
</li>
</ol>
</li>
<li>Return |gamepad|.
</li>
</ol>
</section>
</section>
Expand Down

0 comments on commit 218799f

Please sign in to comment.