- From: Alvin Ji <notifications@github.com>
- Date: Mon, 18 Dec 2023 16:20:17 -0800
- To: w3c/pointerlock <pointerlock@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/pointerlock/pull/49/review/1787904911@github.com>
@alvinjiooo commented on this pull request.
> + If this value is set to `true`, then the pointer movements will
+ not be affected by the underlying platform modications such as
+ mouse accelaration.
+ </p>
+ </dd>
+ </dl>
+ </section>
+ <section>
+ <h3>
+ `pointerlockchange` and `pointerlockerror` Events
+ </h3>
+ <p>
+ Two events are used to communicate pointer lock state change or an
+ error in changing state. They are named <dfn>pointerlockchange</dfn>
+ and <dfn>pointerlockerror</dfn>. If pointer lock is entered or exited
+ for any reason a {{Document/pointerlockchange}} event must be sent.
I think these two events are more like consequences to the algorithm of "requestPointerLock". How about I add the reference and point it to the algorithm of "requestPointerLock"?
```
<p>
The [=user agents=] must deliver these events by <a data-lt=
"queue a task">queuing a task</a> to [=fire an event=] of the
appropriate name with its `bubbles` attribute [[DOM]] set to false to
the pointer lock [=Event/target=] element's [=Node/node document=]. Refer to algorithm of
[=requestPointerLock=] for detail.
</p>
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/pointerlock/pull/49#discussion_r1430775407
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/pointerlock/pull/49/review/1787904911@github.com>
Received on Tuesday, 19 December 2023 00:20:23 UTC