 {Gestures} = require "./Gestures"
 
 Events.PinchStart = "pinchstart"
-Events.PinchEnd = "pinchstart"
-Events.Pinch = "pinchstart"
+Events.PinchEnd = "pinchend"
+Events.Pinch = "pinch"
 Events.RotateStart = "rotatestart"
 Events.Rotate = "rotate"
 Events.RotateEnd = "rotateend"

	onRotateEnd: (cb) -> @on(Events.RotateEnd, cb)
	onScaleStart: (cb) -> @on(Events.ScaleStart, cb)
	onScale: (cb) -> @on(Events.Scale, cb)
	onScaleEnd: (cb) -> @on(Events.ScaleEnd, cb)
		@emit(Events.PinchStart, event)
		@emit(Events.ScaleStart, event) if @scale
		@emit(Events.RotateStart, event) if @rotate

	_pinch: (event) =>

		return unless event.pointers.length is 2
		return unless @enabled

		pointA =
			x: event.pointers[0].pageX
			y: event.pointers[0].pageY
