- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 29 Apr 2024 23:04:55 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 30 April 2024 06:04:59 UTC
@marcoscaceres commented on this pull request.
> @@ -820,8 +820,13 @@ <h3>
<li>[=list/For each=] |rawInputIndex:long| of [=the range=] from 0 to
|inputCount| − 1:
<ol>
- <li>If the the gamepad button at index |rawInputIndex|
- [=represents a Standard Gamepad button=]:
+ <li>Determine the type of the button at index |rawInputIndex|
+ [=represents a Standard Gamepad button=] or Extended button
+ types as described in the {{ExtendedMapping}} using the provided
+ buttonTypes array. If the button does not have a canonical type,
+ use GamePadButtonType.non_canonical.
+ </li>
+ <li>If the button type is not GamepadButtonType.non_canonical:
```suggestion
<li>If |type| is not {{GamepadButtonType/"non_canonical"}}:
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/196#pullrequestreview-2030275165
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/196/review/2030275165@github.com>
Received on Tuesday, 30 April 2024 06:04:59 UTC