Added touch recognition.