Pointer events are fairly well supported and have various neat improvements over using mouse events. For example, I have an erase button on my Surface Pen, and I’d really like it to work as an eraser, rather than requiring me to switch mode.
More involved things that could be done with pointer events: greater precision and update frequency, variable-width stroke (algorithmically much more complex to draw, but very useful), handling multiple simultaneous inputs.
For platforms not supporting pointer events, mouse events can still easily be used.
Pointer events are fairly well supported and have various neat improvements over using mouse events. For example, I have an erase button on my Surface Pen, and I’d really like it to work as an eraser, rather than requiring me to switch mode.
More involved things that could be done with pointer events: greater precision and update frequency, variable-width stroke (algorithmically much more complex to draw, but very useful), handling multiple simultaneous inputs.
For platforms not supporting pointer events, mouse events can still easily be used.