Re: [w3c/pointerlock] movementX/Y when zoom in/out (#23)

I do not think the movement should be scaled based on page zoom.

The screen offers a fixed calibrated coordinate system. Users have adjusted the pointing device to operate in a reasonable way across that space. 

When a page is zoomed in the display is magnified, but the user hasn't expressed any reason to change the input. If, for example, the mouse movement is used to rotate an object then zooming a page should not change how far the object rotates for the same mechanical motion on the pointing device.

The test page you cite wasn't designed for zooming. If it was, it should take into account the zoom when displaying it's output.

Because we can't predict what clients of pointer lock are doing with input, we shouldn't scale the signal based on just one example use case (re-drawing a screen cursor). The primary motivating use case, of controlling a viewpoint in 3D, should not have input motion modified even when the page is zoomed.

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

Received on Thursday, 6 July 2017 20:31:49 UTC