- From: Gabriel Brito <notifications@github.com>
- Date: Fri, 17 Nov 2023 17:52:51 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 18 November 2023 01:52:57 UTC
@gabrielsanbrito commented on this pull request.
> + <dfn>Gamepad</dfn> interface
+ </h2>
+ <p>
+ This interface defines an individual gamepad device.
+ </p>
+ <pre class="idl" data-cite="HR-TIME">
+ [Exposed=Window, SecureContext]
+ interface Gamepad {
+ readonly attribute DOMString id;
+ readonly attribute long index;
+ readonly attribute boolean connected;
+ readonly attribute DOMHighResTimeStamp timestamp;
+ readonly attribute GamepadMappingType mapping;
+ readonly attribute FrozenArray<double> axes;
+ readonly attribute FrozenArray<GamepadButton> buttons;
+ [SameObject] readonly attribute GamepadHapticActuator? vibrationActuator;
Great! Thanks for your always super detailed answers! I have created a partial GamepadHapticActuator interface in the extensions document.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/190#discussion_r1398032113
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/190/review/1738151752@github.com>
Received on Saturday, 18 November 2023 01:52:57 UTC