- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 22 Jun 2022 22:11:25 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 23 June 2022 05:11:37 UTC
@marcoscaceres commented on this pull request.
> </p>
<pre class="idl">
[Exposed=Window]
interface GamepadHapticActuator {
readonly attribute GamepadHapticActuatorType type;
+ boolean canPlayEffectType(GamepadHapticEffectType type);
+ Promise<GamepadHapticsResult> playEffect(
+ GamepadHapticEffectType type,
+ optional GamepadEffectParameters params = {});
Promise<boolean> pulse(double value, double duration);
Agree. It would be nice to have a single way to activate the actuator.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/163#discussion_r904524697
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/163/review/1016340316@github.com>
Received on Thursday, 23 June 2022 05:11:37 UTC