- From: Reilly Grant <notifications@github.com>
- Date: Tue, 27 Jul 2021 17:27:19 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 28 July 2021 00:27:31 UTC
@reillyeon commented on this pull request. > + <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 + with its {{GamepadButton/value}} attribute initialized to + |button|.{{GamepadButton/value}}, its + {{GamepadButton/pressed}} attribute initialized to + |button|.{{GamepadButton/pressed}}, and its + {{GamepadButton/touched}} attribute initialized to + |button|.{{GamepadButton/touched}}. + </li> + <li>[=Queue a task=] on the [=gamepad task source=] to [=fire + an event=] named {{buttonchange}} at |gamepad| using Makes sense to me. Do we want to specify that now or leave it as a TODO for later? -- 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_r677887503
Received on Wednesday, 28 July 2021 00:27:31 UTC