- From: Joe Pea <notifications@github.com>
- Date: Thu, 11 Jan 2024 00:13:07 -0800
- To: w3c/pointerlock <pointerlock@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 11 January 2024 08:13:13 UTC
Here's a demo showing movementX is not usable in Chrome (on a macbook air m2 with dpr 2): https://codepen.io/trusktr/pen/OJqROvd/823fc7ec003e4652d97ff13e32d91b80 When you drag left/right on the demo, notice the mouse moves different speed than then orange border. Here's a demo using `movementX = event.clientX - previousClientX`, and it works as expected, dragging moves the box at the same speed as the mouse: https://codepen.io/trusktr/pen/gOEwXdZ/6257b761fdc13f2b7c354ed2cf422af4 -- Reply to this email directly or view it on GitHub: https://github.com/w3c/pointerlock/issues/42#issuecomment-1886587107 You are receiving this because you are subscribed to this thread. Message ID: <w3c/pointerlock/issues/42/1886587107@github.com>
Received on Thursday, 11 January 2024 08:13:13 UTC