A pen is in eraser mode when either it is flipped to have the "flat" end towards the digitizer, or the barrel button for eraser is depressed.
Low-level events from OS/drivers treat an "eraser mode" pen as a new type (different from type_pen) which can handle hovering pens perfectly. The PointerEvent spec, on the the other hand, can't, see the spec discussion here: https://github.com/w3c/pointerevents/issues/134
In our internal plumbing through WebInputEvent/PlaformEvent etc, we will add a new pointerType to carry the extra info along. Alternatively, we can have a separate bit (modifier bit?) in the event to indicate the flipped state.
Right before firing DOM PointerEvents, however, we will still fall back to "eraser button" notation until the spec is fixed.
Comment 1 Deleted