- From: Rick Byers via GitHub <sysbot+gh@w3.org>
- Date: Sun, 20 Sep 2015 11:10:09 +0000
- To: public-pointer-events@w3.org
Yep, roughly instead of: ```javascript canvas.addEventListener('pointermove', addPoint) ``` You'd have something like: ```javascript canvas.addEventListener('pointermove', e => { for(let point of e.getCoalescedPoints()) { addPoint(point); } } ``` On a device with a 120hz touch scan rate (eg. Nexus 5) you'd get lines that have twice as many points. -- GitHub Notif of comment by RByers See https://github.com/w3c/pointerevents/issues/22#issuecomment-141775607
Received on Sunday, 20 September 2015 11:10:10 UTC