Any browser that supports "PointerEvents" I think will do it (canIuse indicates its all of the them..). There is a How it works section at the bottom, which is interesting:
"Modern browsers expose so called PointerEvents that can convey not only mouse but additionally stylus/pen and touch information. Weylus sets up a webserver with the corresponding javascript code to capture these events. The events are sent back to the server using websockets.".......
I’m guessing because it’s wireless instead of plugged in. I bet a wired USB TCP connection would be much faster.
Also, if you notice, the laptop response is much faster. To me, this suggests that the drawing on the tablet might require a round trip back to the server. If so, it could probably be sped up by drawing locally/async.
Creator here: The last time I did measurements for the latency of mirroring the screen I got about 60ms (over WIFI). The Gif is from way back before I did any optimizations at all.
Respectful suggestion that you have no obligation to follow up on, but it might be a good idea to replace that gif with a more recent capture, or even to just remove it? I ran into your project a while ago, before it got featured on here, and that specific gif is the sole reason I never looked into it any further; my immediate reaction was just, "oh, never mind, it looks like the latency is too high to be useful."
Seeing your comment here is actually a happy surprise since I remember thinking at the time that it would be a really cool project if only the latency was even just a bit better :)
60ms is still probably too high for most drawing (of course to be fair, WIFI I'm sure is a big part of that), but it's usable enough that I don't think I would have dismissed the project outright if I had known that the gif wasn't representative.
Either way though, cool project, and I appreciate the clarification.
Not all devices have an unlockable bootloader, unfortunately. Lots of unnecessary e-waste due to this. Amazon's tablets are one of the worst offenders.
Show HN: Weylus – Use your tablet as graphic tablet/touch screen on Linux - https://news.ycombinator.com/item?id=23443430 - June 2020 (42 comments)