code: function(inEvent) {
        var lts = mouse.lastTouches;
        var t = inEvent.changedTouches[0];
  
        // only the primary finger will synth mouse events
        if (this.isPrimaryTouch(t)) {
  
          // remember x/y of last touch
          var lt = { x: t.clientX, y: t.clientY };
          lts.push(lt);
          var fn = (function(lts, lt) {
            var i = lts.indexOf(lt);
            if (i > -1) {
              lts.splice(i, 1);
            }
          }).bind(null, lts, lt);
          setTimeout(fn, DEDUP_TIMEOUT);
        }
      }
docs: prevent synth mouse events from creating pointer events