ate,
x: touch.clientX,
y: touch.clientY,
dx: dx,
dy: dy,
ddx: ddx,
ddy: ddy,
hover: function() {
return Gestures.deepTargetFind(touch.clientX, touch.clientY);
}
});
}
});
Gestures.register({
name: "tap",
deps: [ "mousedown", "click", "touchstart", "touchend" ],
emits: [ "tap" ],
start: {
x: 0,
y: 0
},
reset: function() {
this.start.x = 0;
this.start.y = 0;
},
save: function(e) {
this.start.x = e.clientX;
this.start.y = e.clientY;
},
mousedown: function(e) {
POINTERSTATE.tapPrevented = false;
this.save(e);
}