[HN Gopher] Weylus - Use your tablet as graphic tablet/touch scr...
       ___________________________________________________________________
        
       Weylus - Use your tablet as graphic tablet/touch screen on Linux
        
       Author : xept
       Score  : 145 points
       Date   : 2022-08-24 09:55 UTC (13 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | marcodiego wrote:
       | 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?
        
         | aruggirello wrote:
         | KDE Connect can be used to move your mouse, too.
        
           | marcodiego wrote:
           | By dragging it around as an optical mouse?
        
             | feet wrote:
             | More like a touch pad on the screen
        
       | prmoustache wrote:
       | I wish I had discovered this before getting rid of my old android
       | 4.4 tablet.
        
         | 2Gkashmiri wrote:
         | does this support using old android tablets?
        
           | hutzlibu wrote:
           | "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 ..
        
             | prmoustache wrote:
             | What about installing fennec from f-droid? Doesn't work?
        
               | yjftsjthsd-h wrote:
               | "This version requires Android 5.0 or newer."
               | 
               | - https://f-droid.org/en/packages/org.mozilla.fennec_fdro
               | id/
        
               | staringback wrote:
               | Just install a custom rom from some random XDA post, it
               | will be just as secure as running an ancient OS
        
               | hutzlibu wrote:
               | Hm, I could give it a try again, but I think it did not
               | work last time I tried (some years ago).
        
       | xept wrote:
       | 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)
        
       | Zardoz84 wrote:
       | Great.... Just what I was searching a long time ago to give a new
       | life to my old Tablet PC
        
       | jacooper wrote:
       | Look like the latency isn't great from the Gif.
        
         | agloeregrets wrote:
         | First thing I noticed. Modern Pro tablets advertise latency in
         | the 20ms range, this looks like a few hundred ms.
        
           | HMH wrote:
           | 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.
        
         | 4oo4 wrote:
         | 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
        
           | mbreese wrote:
           | 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.
        
       | vanderZwan wrote:
       | > _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?
        
         | argsnd wrote:
         | Seems like it but the Steam Deck touch screen is horrendously
         | bad though, so that wouldn't be very useful.
        
         | acomjean wrote:
         | 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
        
       ___________________________________________________________________
       (page generated 2022-08-24 23:01 UTC)