Normalizes mouse/touch events into 'pointer' events.