Re: [w3c/gamepad] Add extended buttons to support trackpad (#191) (PR #196)

@xingri commented on this pull request.



> @@ -878,8 +883,14 @@ <h3>
           <li>Initialize |buttons| to be an empty [=list=].
           </li>
           <li>[=list/For each=] |buttonIndex:long| of [=the range=] from 0 to
-          |buttonsSize| − 1, [=list/append=] a [=new=] {{GamepadButton}} to
-          |buttons|.
+          |buttonsSize| − 1:
+            <ol>
+              <li>Let |button:GamepadButton| be a [=new=] {{GamepadButton}} with its
+              {{GamepadButton/type}} attribute initialized to |type|.

@nondebug  Thanks Matt for the review. Just updated the PR.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/196#discussion_r1669038954
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/196/review/2163981088@github.com>

Received on Monday, 8 July 2024 17:42:48 UTC