Re: [w3c/gamepad] extensions: Add vibrationActuator and dual-rumble effect (PR #163)

@nondebug commented on this pull request.



>        </p>
       <pre class="idl">
         [Exposed=Window]
         interface GamepadHapticActuator {
           readonly attribute GamepadHapticActuatorType type;
+          boolean canPlayEffectType(GamepadHapticEffectType type);

Either `DOMString` or returning a `FrozenArray` sound good to me. I slightly prefer `gamepad.vibrationActuator.effects` because it makes it possible to automatically discover new effect types.

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

Message ID: <w3c/gamepad/pull/163/review/1103002126@github.com>

Received on Friday, 9 September 2022 23:44:46 UTC