Re: [w3c/gamepad] Require system focus for gamepad user gesture (PR #207)

@gabrielsanbrito commented on this pull request.



>            <li>If |navigator|.{{Navigator/[[hasGamepadGesture]]}} is `false` and
-          |gamepad| [=contains a gamepad user gesture=]:
+          |document| is a [=Document/fully active descendant of a top-level
+          traversable with user attention=] and |gamepad| [=contains a gamepad

Should we create an alias for "focused"?

"A [=Document=] |document| is focused if |document| is a [=Document/fully active descendant of a top-level traversable with user attention=] and |gamepad| [=contains a gamepad user gesture=]:"?


> 

Thinking about our current event model and the upcoming [Input Events](https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/GamepadEventDrivenInputAPI/explainer.md), should we also only dispatch events if the tab is focused?

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

Message ID: <w3c/gamepad/pull/207/review/3957265055@github.com>

Received on Monday, 16 March 2026 23:19:24 UTC