+ // Get touch
+ var touch = e.touches[0];
+
+ // Update state
+ guac_touchscreen.currentstate.x = touch.clientX;
+ guac_touchscreen.currentstate.y = touch.clientY;
+
+ // Fire movement event, if defined
+ if (guac_touchscreen.onmousemove)
+ guac_touchscreen.onmousemove(guac_touchscreen.currentState);