Bug 1739598 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

The implementation of pointer lock on Wayland provides unaccelerated movement. In the [pointer lock demo](https://mdn.github.io/dom-examples/pointer-lock/), notice how the circle moves noticeably slower than an unlocked mouse cursor.

Having unaccelerated movement available to the application is desirable, in principle, as it allows the application to define its own speed and acceleration when mouse movement does not steer a cursor.

However, it is contrary to the [spec](https://w3c.github.io/pointerlock/), which specifies that the movement deltas provided should match the system cursor, acceleration and all.

> this specification defines the movement deltas to be taken from how the system mouse cursor moves, which incorporates operating system filtering and acceleration of the mouse movement data

So it also breaks the use case of emulating a locked cursor given just movement deltas, where the confined cursor should move identical to an unlocked one.
The implementation of pointer lock on Wayland provides unaccelerated movement. In the [pointer lock demo](https://mdn.github.io/dom-examples/pointer-lock/), notice how the circle moves noticeably slower than an unlocked mouse cursor.

Having unaccelerated movement available to the application is desirable, in principle, as it allows the application to define its own speed and acceleration when mouse movement does not steer a cursor.

However, it is contrary to the [spec](https://w3c.github.io/pointerlock/), which specifies that the movement deltas provided should match the system cursor, acceleration and all.

> this specification defines the movement deltas to be taken from how the system mouse cursor moves, which incorporates operating system filtering and acceleration of the mouse movement data

So it also breaks the use case of emulating a confined cursor given just movement deltas, where the locked cursor should move identical to an unlocked one.

Back to Bug 1739598 Comment 2