- From: Marcos Cáceres <notifications@github.com>
- Date: Tue, 02 Mar 2021 21:10:15 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 3 March 2021 05:10:29 UTC
@marcoscaceres commented on this pull request.
> + </dd>
+ </dl>
+ </section>
+
+ <section>
+ <h2><dfn>GamepadLightIndicator</dfn></h2>
+ <p>
+ This interface defines a light indicator.
+ </p>
+
+ <pre class="idl">
+ [Exposed=Window, SecureContext]
+ interface GamepadLightIndicator {
+ readonly attribute GamepadLightIndicatorType type;
+
+ Promise<long> setColor(GamepadLightColor color);
Given the discussion below, the promise should probably just resolve with `undefined`.
```suggestion
Promise<undefined> setColor(GamepadLightColor color);
```
--
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/143#pullrequestreview-602513548
Received on Wednesday, 3 March 2021 05:10:29 UTC