 		maxX = Utils.frameGetMaxX(Screen.canvasFrame)
 		maxY = Utils.frameGetMaxY(Screen.canvasFrame)
 
-		if swipeEdge is "top" and 0 < event.start.y - Screen.canvasFrame.y < 30
+		if swipeEdge is "top" and 0 < event.start.y - Screen.canvasFrame.y < GestureInputEdgeSwipeDistance
 			@edgeswipedirectionstart(event)
-		if swipeEdge is "right" and maxX - 30 < event.start.x < maxX
+		if swipeEdge is "right" and maxX - GestureInputEdgeSwipeDistance < event.start.x < maxX
 			@edgeswipedirectionstart(event)
-		if swipeEdge is "bottom" and maxY - 30 < event.start.y < maxY
+		if swipeEdge is "bottom" and maxY - GestureInputEdgeSwipeDistance < event.start.y < maxY
 			@edgeswipedirectionstart(event)
-		if swipeEdge is "left" and 0 < event.start.x - Screen.canvasFrame.x < 30
+		if swipeEdge is "left" and 0 < event.start.x - Screen.canvasFrame.x < GestureInputEdgeSwipeDistance
 			@edgeswipedirectionstart(event)
 
 	swipedirection: (event) =>


		@tapstart(event)

		if Date.now() - @doubleTapTime < 250
			@doubletap(event)
		else
			@doubleTapTime = Date.now()

				event.delta = Utils.pointSubtract(event.touchCenter, @session.lastEvent.touchCenter)

		if @session?.events
			events = _.filter @session.events, (e) -> e.time > (event.time - GestureInputVelocityTime)
			event.velocity = @_getVelocity(events)

		if event.touches.length > 0
