Lines Matching full:touch
5 including UI to toggle events and various non-mouse, keyboard, touch events.
9 Add event handlers for all mouse, touch, and keyboard events. Log any events
16 <title>Touch Event Test Page</title>
119 // Helper function for touch handler.
145 // Touch event handler.
157 var touch = event.changedTouches[i];
162 startX: touch.screenX,
163 startY: touch.screenY,
167 activeTouchData[touch.identifier] = touchData;
169 var touchData = activeTouchData[touch.identifier];
170 var distX = Math.abs(touch.screenX - touchData.startX);
171 var distY = Math.abs(touch.screenY - touchData.startY);
176 msg = ('touch ' + touch.identifier + ' summary:' +
182 delete activeTouchData[touch.identifier];
217 // On load, set handlers for mouse, touch, and key events.