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

@sadym-chromium commented on this pull request.



> +                If |deviceId| is `null`, abort these steps.
+              </li>
+              <li>
+                Let |navigableId| be |navigable|'s [=navigable id=].
+              </li>
+              <li>
+                Let |eventParams| be a [=map=] matching the `emulation.SimulatedDeviceEventParameters` production with the `deviceId` field set to |deviceId|.
+              </li>
+              <li>
+                Let |vibration| be `false`.
+              </li>
+              <li>
+                Let |channels| be the [=list=] « `"strongMagnitude"`, `"weakMagnitude"`, `"leftTrigger"`, `"rightTrigger"` ».
+              </li>
+              <li>
+                [=list/For each=] |channel| of |channels|:

It means that we ignore all other potential values. IDK if this is correct, and how extensible it is.

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

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

Received on Monday, 22 September 2025 12:40:00 UTC