- From: Vincent Scheib <notifications@github.com>
- Date: Fri, 13 Jan 2017 20:10:33 -0800
- To: w3c/pointerlock <pointerlock@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 14 January 2017 04:11:08 UTC
I made that design decision in Pointer Lock because I want to reduce the chance of application error. All movements must be delivered to mousemove events, so applications will and can handle movement there. A naive handler would duplicate handling of delta movements if browsers did also include movement data in other events such as mousedown. The absolute positions of mouse events are not at risk of these logical errors - worst case they would perform duplicate processing. But movementX/Y is typically used in an additive way and the values would be double counted. -- 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/15#issuecomment-272600312
Received on Saturday, 14 January 2017 04:11:08 UTC