Re: [w3c/gamepad] Add gamepad light indicator extension (#143)

@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