View Single Post
Old 01-06-2021, 11:35 AM   #30
NiMa
Fanatic
NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.NiMa ought to be getting tired of karma fortunes by now.
 
NiMa's Avatar
 
Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
Quote:
Originally Posted by geek1011 View Post
Yes, basically. You would run this on an existing X server (e.g. tigervnc, Xvfb, etc), and it would use XDAMAGE to watch for changes and pass them to FBInk. You'd still need to deal with input, though.
I think input is a closed concern for the moment. I managed to watch for input events with evtest and with a small Python program, pass the x/y coordinates to xdotool. You can check the .py file in the main post to see the code. Pretty simple and reliable. No multi-touch, but better than nothing...
Thanks for the explanation, I think I am nearing even further my goal.

Any idea how to set this up in Python? Is it possible?
Thanks
NiMa is offline   Reply With Quote