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