Only use touch events if they're available