[Webkit-unassigned] [Bug 202956] New: [GTK][WPE] Enable Pointer Lock API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 14 14:57:16 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=202956
Bug ID: 202956
Summary: [GTK][WPE] Enable Pointer Lock API
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: clopez at igalia.com
CC: bugs-noreply at webkitgtk.org
The Pointer Lock API (formerly called Mouse Lock API) provides input methods based on the movement of the mouse over time (i.e., deltas), not just the absolute position of the mouse cursor in the viewport. It gives you access to raw mouse movement, locks the target of mouse events to a single element, eliminates limits on how far mouse movement can go in a single direction, and removes the cursor from view. It is ideal for first person 3D games, for example.
https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API
https://www.w3.org/TR/pointerlock/
There is currently a CMake guard ENABLE_POINTER_LOCK for this feature, its disabled by default on CMake ports.
On Mac port seems enabled by default.
WPT tests at: http://w3c-test.org/pointerlock/
--
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/20191014/610b3b35/attachment-0001.html>
More information about the webkit-unassigned
mailing list