- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 29 Oct 2020 15:37:40 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/gamepad/pull/143/review/520137455@github.com>
@marcoscaceres commented on this pull request.
> + Sets the color of a light indicator, or sets the light indicator to ON
+ or OFF.
+
+ For <code>on-off</code> light indicators, one or more non zero values
+ denotes the light indicator is ON, whereas a zero value for all
+ components indicates the light indicator is OFF.
+
+ For RGB light indicators, one or more non zero values specify the
+ color of the light indicator, whereas all zero values indicate the
+ light indicator is OFF.
+
+ The returned Promise will resolve <code>true</code> when setting the
+ color has succeeded, and will reject the device API error code on
+ failure.
```suggestion
<p>
Sets the color of a light indicator, or sets the light indicator to ON
or OFF.
</p>
<p>
For <code>on-off</code> light indicators, one or more non zero values
denotes the light indicator is ON, whereas a zero value for all
components indicates the light indicator is OFF.
</p>
<p>
For RGB light indicators, one or more non zero values specify the
color of the light indicator, whereas all zero values indicate the
light indicator is OFF.
</p>
<p>
The returned Promise will resolve <code>true</code> when setting the
color has succeeded, and will reject the device API error code on
failure.
</p>
```
--
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-520137455
Received on Thursday, 29 October 2020 22:37:53 UTC