- From: Sun Shin <notifications@github.com>
- Date: Thu, 11 Jul 2024 14:22:38 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 11 July 2024 21:22:42 UTC
@xingri commented on this pull request. > @@ -878,8 +881,17 @@ <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|, + button.value initialized to 0, + button.pressed initialized to false, and + button.touched initialized to false. @nondebug Thanks Matt. Just updated. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/pull/196#discussion_r1674708551 You are receiving this because you are subscribed to this thread. Message ID: <w3c/gamepad/pull/196/review/2173071432@github.com>
Received on Thursday, 11 July 2024 21:22:42 UTC