Normalize mouse/touch events into 'pointer' events.