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

@marcoscaceres commented on this pull request.



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

Actually, I think `.supports()` might be better. Consider, just because gamepad supports an effect type, doesn't mean it can play it. 

```suggestion
          boolean supports(GamepadHapticEffectType type);
```

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

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

Received on Thursday, 23 June 2022 04:47:26 UTC