[Webkit-unassigned] [Bug 217675] New: Allow gamepad button press to count as a user gesture
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 13 15:12:22 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=217675
Bug ID: 217675
Summary: Allow gamepad button press to count as a user gesture
Product: WebKit
Version: Safari 14
Hardware: Unspecified
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: juberti at google.com
Many of Safari's APIs require a user gesture, e.g.:
- fullscreen
- autoplay
- clipboard
However it is not possible to trigger a user gesture from an attached USB or Bluetooth gamepad, which makes it hard for apps to entirely drive their UI from a gamepad.
Chrome adopted an approach where a getGamepads() call with at least one button pushed more than 50% triggers a user gesture callback (https://bugs.chromium.org/p/chromium/issues/detail?id=381596#c13). This seems like it would be easy to adopt in Safari as well, assuming this approach gets a thumbs-up.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201013/5d4f1504/attachment.htm>
More information about the webkit-unassigned
mailing list