Currently at the EventHandler level we don't expect a platform mouse/touch event with pointerType=unknown. Unfortunately Mac seems to be setting neither type nor id for NSMouseExited and NSMouseEntered, apparently to support their "single-shared-cursor for mouse & all styli" model.
We decided in crrev.com/2022843002 to pass on the missing data case as pointerType=unknown. This idea could be useful for other cases of unknown device type/id too.
We need to handle this case specially in the PointerEventManager. May be events with unknown types should be ignored? Or can mean "a pack of all active pointers" as in the Mac case here.
Note that Windows cursor model is slightly different: in non-touch interactions, even though there is a single visible cursor at any point in time, each non-touch device seems to remember its location before disappearing because of another pointer activity. Touches, however, seems to move the mouse cursor.
Comment 1 by tdres...@chromium.org
, Jun 8 2016