Pattern recognition (with haptics)