
There's been a few requests to get a stylus/drawing tablet to work with roll20 and the general consensus of the Roll20 staff is either it's the manufacturers of the tablet's fault or you don't officially support pointer.
https://app.roll20.net/forum/post/5973367/slug%7D
https://app.roll20.net/forum/post/8372158/slug%7D
https://app.roll20.net/forum/post/7033602/slug%7D
I dug through the minified app.js and saw you use fabric.js to manage drawing, which then led me to the fabric.js source and found out that you can get proper pointer events instead of mouse events by enabling it as an option with `{enablePointerEvents: true}`.
My initial suggestion was going to be change:
d20.engine.canvas = new fabric.Canvas(d20.engine.work_canvases.main.canvas, d20.engine.uppercanvas, { controlsAboveOverlay: true})
to
d20.engine.canvas = new fabric.Canvas(d20.engine.work_canvases.main.canvas, d20.engine.uppercanvas, { controlsAboveOverlay: True, enablePoinerEvents: true })
However I noticed that you're running version 1.2.14 of fabric.js which doesn't support pointers because it's from 2013 which was before pointer events were a thing (looks like pointer events were added to browsers in 2014). So I ask can you please update your libraries to less than 7 years out of date and enable modern input devices?