Check for touch input