Added isTouchDevice().