Detecting touch devices