News for hackers. Stuff that matters.
Re:Ask HN: What's your quarantine side project? by chrismorgan on Sunday May 17, 2020 @01:38AM (#23209833)
If you haven’t been using it, make sure to use PointerEvent.getCoalescedEvents where available, which unlinks the events from the display frame rate. Anything using pointer events for drawing should use it. (But remember that events can come in at any speed, e.g. a 240fps pen should coalesce four events per 60fps frame—so make sure you can cope with lots of events.)

I believe that the pointer events API is in current browsers now uniformly superior in functionality to the touch events API which it obsoletes.

There are no comments on this comment yet.