- From: Matt Reynolds <notifications@github.com>
- Date: Fri, 11 Jun 2021 13:46:50 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 11 June 2021 20:48:27 UTC
@nondebug commented on this pull request. > @@ -170,6 +170,43 @@ <h2> readonly attribute FrozenArray<GamepadButton> buttons; }; </pre> + <p> + Instances of {{Navigator}} are created with the internal slots described in the following table: + </p> + <table class="simple" dfn-for="Navigator" dfn-type="attribute"> + <tr> + <th>Internal slot + <th>Initial value + <th>Description (non-normative) + <tr> + <td><dfn>[[\exposed]]</dfn> + <td>`false` + <td>A flag indicating that the {{Gamepad}} object has been exposed to script. + <tr> + <td><dfn>[[\axisMapping]]</dfn> + <td>`{}` Sounds good for these internal arrays. I've left the Navigator.gamepads list as an empty array [] since we need to expose that array to script for getGamepads. Is there some incantation for converting from infra types to Javascript types? -- 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/151#discussion_r650256041
Received on Friday, 11 June 2021 20:48:27 UTC