 		@isPinchKeyDown = false
 		@isPanKeyDown = false
 		
-		mouseCursorInitialOffset = @mouseCursorInitialOffset
+		touchPointerInitialOffset = @touchPointerInitialOffset
 
 		@context.run =>
-			@imageLayer = new Layer
-				width: @mouseCursorImageSize
-				height: @mouseCursorImageSize
-				image: @mouseCursorImage
+			@touchPointLayer = new Layer
+				width: @touchPointerImageSize
+				height: @touchPointerImageSize
+				image: @touchPointerImage
 				opacity: 0
 	
 	showTouchCursor: ->
-		@imageLayer.animateStop()
-		@imageLayer.midX = @point.x
-		@imageLayer.midY = @point.y
-		@imageLayer.scale = 1.8
-		@imageLayer.animate
+		@touchPointLayer.animateStop()
+		@touchPointLayer.midX = @point.x
+		@touchPointLayer.midY = @point.y
+		@touchPointLayer.scale = 1.8
+		@touchPointLayer.animate
 			properties:
 				opacity: 1
 				scale: 1
-				# midX: @point.x + @mouseCursorInitialOffset.x
-				# midY: @point.y + @mouseCursorInitialOffset.y
+				# midX: @point.x + @touchPointerInitialOffset.x
+				# midY: @point.y + @touchPointerInitialOffset.y
 			time: 0.1
 			curve: "ease-out"
 
 	hideTouchCursor: ->
-		@imageLayer.animateStop()
-		@imageLayer.animate
+		@touchPointLayer.animateStop()
+		@touchPointLayer.animate
 			properties:
 				opacity: 0
 				scale: 1.2

		if not @isHammerTouchSupported()
			throw new Error "Touch emulation for hammer is not supported"
		
		@mouseCursorImage = "framer/images/cursor@2x.png"
		@mouseCursorImageActive = "framer/images/cursor-active@2x.png"
		@mouseCursorImageSize = 64
		@mouseCursorInitialOffset = {x:0, y:0}
		
		@keyPinchCode = 16 # Shift
		@keyPanCode = 91 # Command
		
		@context = new Framer.Context name:"TouchEmulator"

		window.ontouchstart is null 
	
	keydown: (event) =>

		if event.keyCode is @keyPinchCode	
			@isPinchKeyDown = true
			@startPoint = @centerPoint = null
			@showTouchCursor()
			@touchPointLayer.midX = @point.x
			@touchPointLayer.midY = @point.y
			@wrap(document).addEventListener("keyup", @keyup, true)
			@wrap(document).addEventListener("mousemove", @mousemove, true)
			
