- From: Matt Reynolds <notifications@github.com>
- Date: Tue, 27 Jul 2021 13:54:27 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 27 July 2021 20:54:44 UTC
@nondebug commented on this pull request.
> + {{GamepadAxisEvent/axisSnapshot}} attribute initialized to
+ |newValue|, and its {{GamepadAxisEvent/gamepadTimestamp}}
+ attribute initialized to |now|.
+ </li>
+ </ol>
+ </li>
+ <li>[=list/For each=] |buttonIndex:long| of [=the range=] from 0 to
+ the [=list/size=] of |gamepad|.{{Gamepad/buttons}} − 1:
+ <ol>
+ <li>Let |button:GamepadButton| be
+ |gamepad|.{{Gamepad/[[buttons]]}}[|buttonIndex|].
+ </li>
+ <li>If |oldButtonValue|[|buttonIndex|] is not equal to
+ |button|.{{GamepadButton/value}}:
+ <ol>
+ <li>Let |buttonCopy| be a [=new=] {{GamepadButton}} instance
Done
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/152#discussion_r677792805
Received on Tuesday, 27 July 2021 20:54:44 UTC