Re: [w3c/gamepad] Move vibrationActuator to the main spec (PR #190)

@svillar commented on this pull request.



> +          Promise<boolean> pulse(double value, double duration);
+        };
+      </pre>
+      <dt>
+        <dfn>pulse()</dfn> method
+      </dt>
+      <dd>
+        <p>
+          <code>pulse()</code> applies a <var>value</var> to the actuator for
+          <var>duration</var> milliseconds. The <var>value</var> passed to
+          <code>pulse()</code> is clamped to limits defined by the actuator
+          type. The returned Promise will resolve <code>true</code> once the
+          pulse has completed.
+        </p>
+        <p>
+          Repeated calls to <code>pulse()</code> override the previous

> > Ok, but if pulse() is Meta Quest only, that also puts it the "feature at risk". We should note that in the spec too, unless we expect to get a second implementation.
> > Is there a plan for a second implementation?
> 
> I'm fairly sure that this was also implemented in the Pico browser. @bkardell , was this added to Wolvic?

The version of Gecko that is shipped with the latests releases of wolvic (116) does implement Pulse()

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/190#discussion_r1431552499
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/190/review/1789104617@github.com>

Received on Tuesday, 19 December 2023 15:12:41 UTC