Re: [w3c/gamepad] spec vibrationActuator gamepad extension (#68)

nondebug commented on this pull request.



>            </p>
           <p>
-            Repeated calls to <code>pulse()</code> override the previous
-            values.
+            If the effect parameters are invalid, <code>playEffect()</code>
+            must return with a Promise resolved to
+            <code>'invalid-parameter'</code>. The validity of the effect
+            parameters is defined by the effect type.
+          </p>
+          <p>
+            If the effect type is not compatible with the actuator,
+            <code>playEffect()</code> must immediately return a Promise resolved

I think this should be "in parallel". I removed the requirement that the promise is immediately resolved.

-- 
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/68#discussion_r171062685

Received on Tuesday, 27 February 2018 20:55:02 UTC