I was wondering if you can detect that an event comes from a passive pen from modern web browsers.
For example on a surface hub, in Edge, you have event.pointerType === 'pen' to distinguish touches made with pen vs those made with a finger but I don't know if you can do the same with any pen on any browser in any OS.
I haven't found any information about it but I am not sure I looked at the right places.