-- Event Handlers

function Input:_checkDown (userInput, isDown)
	if (not self:_isDown (userInput)) then return end
	
	self._isMouseDown = isDown;
	if (not isDown) then
		self.ButtonUp:Fire ();
	end
end

function Input:_checkMouseMoved (userInput, isTouch)
	if (not isTouch and not self:_isMovement (userInput)) then return end;
	
	if (not self._isMouseDown) then
		self.MouseMoved:Fire (userInput.Position);	
	else
		self.Dragged:Fire (userInput.Position, isTouch);
	end;
end
