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
<https://chromestatus.com/feature/5723553087356928>.

-WebKit: Shipped since 18.4
<https://developer.apple.com/documentation/safari-release-notes/safari-18_4-release-notes>
.

Web-platform-tests:

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

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAN1gQc5HT65YSdgKZH4nEvfjhaqR%3DAL3-w7NHEFJHz1N7EBJ5g%40mail.gmail.com.

Reply via email to