w3c / gamepad

Gamepad
https://w3c.github.io/gamepad/
Other
138 stars 49 forks source link

Require system focus for gamepad user gesture #207

Open nondebug opened 1 month ago

nondebug commented 1 month ago

Closes #206

The following tasks have been completed:

Implementation commitment:


Preview | Diff

marcoscaceres commented 1 month ago

This seems reasonable. I need to check if WebKit already does this or not.

nondebug commented 1 month ago

This seems reasonable. I need to check if WebKit already does this or not.

I think WebKit on macOS already requires focus even for normal gamepad inputs because it uses Game Controller API which requires focus.