Checking for touch device