 	# Utilities
 
 	_process: (event) =>
-
 		return unless @session
 
 		@session.events.push(event)

			else
				return unless (event.touches.length == event.changedTouches.length)

		TouchMove.map (e) => @em.wrap(window).removeEventListener(e, @touchmove)
		TouchEnd.map (e) => @em.wrap(window).removeEventListener(e, @touchend)
		@em.wrap(window).addEventListener("webkitmouseforcechanged", @_updateMacForce)

		event = @_getGestureEvent(event)


{DOMEventManager} = require "./DOMEventManager"

class exports.GestureInputRecognizer

	constructor: ->
		@em = new DOMEventManager()
		@em.wrap(window).addEventListener("mousedown", @startMouse)
		@em.wrap(window).addEventListener("touchstart", @startTouch)

	destroy: ->
		@em.removeAllListeners()
