W3C home > Mailing lists > Public > public-apa@w3.org > February 2016

RE: Pointer Lock API

From: Léonie Watson <tink@tink.uk>
Date: Tue, 2 Feb 2016 16:49:20 -0000
To: <tink@tink.uk>, <public-apa@w3.org>
Message-ID: <511101d15dd9$ac4aba80$04e02f80$@tink.uk>
Ken Gould originally reported this problem on the beta list.


> -----Original Message-----
> From: Léonie Watson [mailto:tink@tink.uk]
> Sent: 02 February 2016 15:38
> To: public-apa@w3.org
> Subject: Pointer Lock API
> I had an unofficial action to look at the Pointer Lock spec [1].
> Pointer Lock is an API for capturing mouse movement (not position). When
> mouse movement is detected and a lock is initiated, the visible cursor is
> removed and mouse movements are used to control the environment.
> One of the use cases given in the spec is control of viewport orientation
> within a first person game environment. Another is the rotation of views
> within a 3D modelling environment.
> The spec requires that a default mechanism for disengaging from the
> lock is made available. The escape key is the recommended mechanism,
> which appears to address any concerns about mouse trapping.
> The pointer lock interaction closely resembles the way the mouse is used
> control the viewport with screen magnification though. For example, if the
> mouse is locked into controlling the orientation of a viewport, it cannot
> presumably be used to control which part of the viewport currently has
> magnifier focus.
> I think the escape mechanism should be enough to permit magnifier users to
> switch in/out of the lock when nescessary. Thoughts welcome though.
> Léonie.
> [1] https://w3c.github.io/pointerlock/
> --
> @LeonieWatson tink.uk Carpe diem
Received on Tuesday, 2 February 2016 16:49:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:55:19 UTC