- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 20 Nov 2023 16:36:26 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 21 November 2023 00:36:32 UTC
@marcoscaceres commented on this pull request.
> + This partial interface supplements the {{GamepadHapticActuator}}
+ interface described in the main
+ <a href="https://w3c.github.io/gamepad/">Gamepad spec</a>.
+ </p>
+ <pre class="idl">
+ [Exposed=Window]
+ partial interface GamepadHapticActuator {
+ 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
```suggestion
{{GamepadHapticActuator/pulse()}} applies a |value:double| to the actuator for
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/190#pullrequestreview-1740916375
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/190/review/1740916375@github.com>
Received on Tuesday, 21 November 2023 00:36:32 UTC