Re: [w3c/pointerlock] MovementX/Y values in coalesced events (#74)

kvnloo left a comment (w3c/pointerlock#74)

One useful invariant for testing would be conservation of movement:

the sum of `movementX/Y` over `getCoalescedEvents()` should equal the movement represented by the parent dispatched event over the same sample interval.

That gives implementations freedom to coalesce while letting applications reconstruct the high-frequency trajectory without introducing or dropping motion.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/pointerlock/issues/74#issuecomment-5941895382
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/pointerlock/issues/74/5941895382@github.com>

Received on Thursday, 1 October 2026 22:25:58 UTC