Re: Tiny update to one of my tracker demos

FYI backingStorePixelRatio isn't needed anymore in current browsers.  In fact you'll find that the property doesn't even exist anymore.  You only need to scale canvas rendering based upon devicePixelRatio now. --Brandon 

     On Monday, November 9, 2015 11:43 AM, Rick Byers <> wrote:

 Very cool, thanks!
Note that if you use touch + mouse events at the same time (eg. on a Chromebook pixel) it flips back and forth between showing touch only and showing mouse only.
On Mon, Nov 9, 2015 at 8:14 AM, Patrick H. Lauke <> wrote:

Nothing groundbreaking, but just wanted to share this: made a (very hacky) change to my mouse/touch events/pointer events tracker demo to now output some event information, visually.

Performance is abysmal, as I obviously still do far too much calculating/drawing per event...but this is meant more for quick presentation demo purposes, rather than production.

Patrick H. Lauke | |
twitter: @patrick_h_lauke | skype: patrick_h_lauke


Received on Monday, 9 November 2015 17:57:59 UTC