News for hackers. Stuff that matters.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by xept on Wednesday August 24, 2022 @08:18AM (#32578378)
Previous discussion:

Show HN: Weylus – Use your tablet as graphic tablet/touch screen on Linux - https://news.ycombinator.com/item?id=23443430 - June 2020 (42 comments)

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by marcodiego on Wednesday August 24, 2022 @10:43AM (#32580116)
My smartphone has a camera on its back. It is probably not convenient, but can it be used to detect motion so that my phone could be used as a mouse?
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by aruggirello on Wednesday August 24, 2022 @11:58AM (#32581190)
KDE Connect can be used to move your mouse, too.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by marcodiego on Wednesday August 24, 2022 @01:29PM (#32582782)
By dragging it around as an optical mouse?
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by feet on Wednesday August 24, 2022 @02:56PM (#32584088)
More like a touch pad on the screen
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by vanderZwan on Wednesday August 24, 2022 @09:14AM (#32579037)
> No apps except a modern browser (Firefox 80+, iOS/iPadOS 13+) are required on your tablet.

Huh, so that means it should work on anything with a touch screen and a modern browser, no? For example, a Steam Deck would work too?

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by acomjean on Wednesday August 24, 2022 @01:47PM (#32583081)
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.".......

https://github.com/H-M-H/Weylus#how-does-this-work

a

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by argsnd on Wednesday August 24, 2022 @10:44AM (#32580124)
Seems like it but the Steam Deck touch screen is horrendously bad though, so that wouldn't be very useful.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by Zardoz84 on Wednesday August 24, 2022 @10:09AM (#32579675)
Great.... Just what I was searching a long time ago to give a new life to my old Tablet PC
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by jacooper on Wednesday August 24, 2022 @10:10AM (#32579688)
Look like the latency isn't great from the Gif.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by 4oo4 on Wednesday August 24, 2022 @10:30AM (#32579943)
This might be why, it's using TCP instead of UDP?

    sudo ufw allow 1701/tcp
    sudo ufw allow 9001/tcp
https://github.com/H-M-H/Weylus#running
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by mbreese on Wednesday August 24, 2022 @02:03PM (#32583328)
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.

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by agloeregrets on Wednesday August 24, 2022 @10:29AM (#32579932)
First thing I noticed. Modern Pro tablets advertise latency in the 20ms range, this looks like a few hundred ms.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by HMH on Wednesday August 24, 2022 @05:49PM (#32586237)
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.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by danShumway on Thursday August 25, 2022 @12:59PM (#32596579)
Thanks for commenting.

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.

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by agloeregrets on Thursday August 25, 2022 @10:55AM (#32594466)
Thanks for the reply! Good to hear, thanks!
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by prmoustache on Wednesday August 24, 2022 @08:37AM (#32578586)
I wish I had discovered this before getting rid of my old android 4.4 tablet.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by 2Gkashmiri on Wednesday August 24, 2022 @11:26AM (#32580656)
does this support using old android tablets?
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by hutzlibu on Wednesday August 24, 2022 @12:03PM (#32581284)
"No apps except a modern browser (Firefox 80+, iOS/iPadOS 13+) are required on your tablet"

So no. My old samsung galaxy note 10.1 would be perfect for this, too, but I cannot upgrade its browser anymore since years ..

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by prmoustache on Wednesday August 24, 2022 @12:11PM (#32581434)
What about installing fennec from f-droid? Doesn't work?
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by yjftsjthsd-h on Wednesday August 24, 2022 @01:26PM (#32582739)
"This version requires Android 5.0 or newer."

- https://f-droid.org/en/packages/org.mozilla.fennec_fdroid/

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by staringback on Wednesday August 24, 2022 @05:06PM (#32585761)
Just install a custom rom from some random XDA post, it will be just as secure as running an ancient OS
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by opan on Wednesday August 24, 2022 @07:23PM (#32587210)
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.
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by hutzlibu on Wednesday August 24, 2022 @01:01PM (#32582353)
Hm, I could give it a try again, but I think it did not work last time I tried (some years ago).
Re:Weylus – Use your tablet as graphic tablet/touch screen o... by freemint on Wednesday August 24, 2022 @07:14PM (#32587137)
Can i take a guess?

HP Touchpad?

Re:Weylus – Use your tablet as graphic tablet/touch screen o... by prmoustache on Friday August 26, 2022 @10:58AM (#32608366)
A toshiba one whose bootloder was never unlocked.