I’ll look into it in more detail when I’m back in my lab, but one thing to bear 
in mind is that TurboVNC isn’t like a regular X server. Because it runs 
entirely with user-level credentials, it can’t access any physical devices on 
the server even if it wanted to. Creating and managing input devices occurs 
within the X.org hardware-dependent code. In the case of TurboVNC, the 
hardware-dependent code is the TurboVNC Server, so any new input devices have 
to be created by the TurboVNC Server code. Our remote X Input interface taps 
into that, allowing you to mirror a physical input device on the client with a 
virtual input device in the TurboVNC Server session. But those virtual input 
devices are connected to physical input devices on the client, not on the 
server. Physical input devices on the server are not accessible by TurboVNC 
(which, incidentally, is why VirtualGL is needed in order to get 
GPU-accelerated OpenGL.)

I’ll look at the code you sent and see what makes the most sense in terms of 
using it with TurboVNC.

> On Sep 19, 2021, at 4:17 PM, joa...@verona.se wrote:
> 
> Hello,
> 
> I would like to experiment with synthetic libevents, like what is done
> in this post:
> 
> https://unix.stackexchange.com/questions/508612/simulate-graphics-tablet-using-libevent
> 
> What it does is creates a fake event device, sends events with pressure,
> so in a pressure sensitive application you can see the effect, whcih is
> shown in the post.
> 
> This program works locally on the client machine, but not on the
> turbovnc server. This might be correct I guess, because maybe you dont
> want input devices on the remote machine to affect the turbovnc session.
> 
> Still, I would like to experiment with this. Is there any way to do it
> that I missed?
> 
> -- 
> Joakim Verona
> joa...@verona.se
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TurboVNC User Discussion/Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to turbovnc-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/turbovnc-users/87r1dk6zak.fsf%40tanaka.verona.se.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to turbovnc-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/turbovnc-users/D8981C69-6904-4FE4-ACBF-137B54FF84DA%40virtualgl.org.

Reply via email to