Intent to prototype & ship: Pointer Lock unadjustedMovement

41 views
Skip to first unread message

Edgar Chen

unread,
May 13, 2026, 5:51:26 AM (4 days ago) May 13
to dev-pl...@mozilla.org

Summary:

Element.requestPointerLock() gains a PointerLockOptions dictionary argument with a boolean unadjustedMovement member, which allows websites to request that MouseEvent.movementX / movementY deliver raw mouse deltas that bypass OS-level pointer acceleration.


Bug to turn on by default:

https://bugzilla.mozilla.org/show_bug.cgi?id=2037802 


Specification:

https://www.w3.org/TR/pointerlock/#dom-pointerlockoptions-unadjustedmovement 


Standards Body:

W3C


Platform Coverage:

All platforms. Platforms that do not support unadjustedMovement (Linux and Android) reject with a NotSupportedError, per the spec. 


Preference:

dom.pointer-lock.unadjusted-movement.enabled


DevTools Bug:

N/A


Extensions Bug:

N/A


Use Counter:

Added one in https://bugzilla.mozilla.org/show_bug.cgi?id=2038919.


Standards-Positions Discussion:

https://github.com/mozilla/standards-positions/issues/448 


Other Browsers:

-Blink: Shipped since version 81.

-WebKit: Shipped since 18.4.


Web-platform-tests:

https://wpt.fyi/results/pointerlock?label=experimental&label=master&aligned


Reply all
Reply to author
Forward
0 new messages