; 
			leftVector.reset(0,0);
			leftMot = rightMot = 0;
			sendFlag = true;
			break; 		
		}
		else if(rightTouchID == touch.identifier)
		{
			rightTouchID = -1; 
			rightVector.reset(0,0);
			leftMot = rightMot = 0;
			sendFlag = true;
			break; 		
		}		
	}
   
}

function onMouseUp(event) { 

	leftVector.reset(0,0);
	rightVector.reset(0,0);
	leftMot = rightMot = 0;
	mouseDown = false;
	sendFlag = true;
}

/*
Source for keyboard detection: Braden Best:
https://stackoverflow.com/questions/5203407/how-to-de