Re: [w3c/gamepad] Integrate with WebDriver and WebDriver BiDi for automation (PR #224)

@sadym-chromium commented on this pull request.



> +              <dd>
+                represents the {{GamepadHapticEffectType/"trigger-rumble"}} {{GamepadHapticEffectType}}.
+              </dd>
+            </dl>
+            <pre class="cddl">
+              emulation.GamepadVibrationEffectType = ("dual-rumble", "trigger-rumble")
+            </pre>
+          </section>
+          <section>
+            <h5>
+              The emulation.SimulateGamepadParams Type
+            </h5>
+            <pre class="cddl">
+              emulation.SimulateGamepadParams = {
+                type: "gamepad",
+                context: browsingContext.BrowsingContext,

IDK if we can cross-reference CDDL to BiDi spec, so let's use `text` the same way [Bluetooth spec does](https://webbluetoothcg.github.io/web-bluetooth/#issue-194ad560).
```suggestion
                context: text,
```

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

Message ID: <w3c/gamepad/pull/224/review/3252352739@github.com>

Received on Monday, 22 September 2025 12:17:30 UTC