Re: [w3c/pointerlock] Feature Request: Allow for a pointerevent-scoped pointerlock with less restrictions (Issue #81)

Is the [Pointer Capture](https://www.w3.org/TR/pointerevents/upcoming/#pointer-capture) support in this spec not enough for this use-case?  You can [request a pointer capture](https://www.w3.org/TR/pointerevents/upcoming/#setting-pointer-capture) on `pointerdown` which will get [released implicitly](https://www.w3.org/TR/pointerevents/upcoming/#implicit-release-of-pointer-capture) on `pointerup`.

One difference here is that the mouse cursor remains visible in Pointer Capture (unlike PointerLock API).  Perhaps an option to hide the cursor on Pointer Capture is all you need?

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

Message ID: <w3c/pointerlock/issues/81/1337518817@github.com>

Received on Monday, 5 December 2022 14:53:21 UTC