- From: Matt Reynolds <notifications@github.com>
- Date: Thu, 08 Jul 2021 11:48:26 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 8 July 2021 18:49:17 UTC
@nondebug commented on this pull request.
> + <p>
+ User agents implementing this specification must provide a new DOM
+ event, named {{gamepadconnected}}. The corresponding event MUST be of
+ type {{GamepadEvent}} and, if [=allowed to use=] the `"gamepad"`
+ permission, MUST fire on the {{Window}} object. Registration for and
+ firing of the {{gamepadconnected}} event MUST follow the usual
+ behavior of DOM Events. [[DOM]]
+ </p>
+ <p>
+ A [=user agent=] MUST dispatch this event type to indicate the user
+ has connected a gamepad. If a gamepad was already connected when the
+ page was loaded, the {{gamepadconnected}} event SHOULD be dispatched
+ when the user presses a button or moves an axis.
+ </p>
+ <p>
+ A [=user agent=] MUST NOT dispatch this event type if the
+ [=environment settings object=] is a [=non-secure context=].
+ </p>
Oops, copy/paste error... removed
--
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_r666439623
Received on Thursday, 8 July 2021 18:49:17 UTC