 		# Detect swipe events
 
 		# If we did not start but moved more then the swipe threshold, start
-		if not @session.started.swipe and (Math.abs(event.offset.x) > 30 or Math.abs(event.offset.y) > 30)
+		if not @session.started.swipe and (
+			Math.abs(event.offset.x) > GestureInputSwipeThreshold or 
+			Math.abs(event.offset.y) > GestureInputSwipeThreshold)
 				@swipestart(event)
 		# If we did start send swipe events
 		else if @session.started.swipe

Utils = require "./Utils"

{DOMEventManager} = require "./DOMEventManager"


				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
