After many discussions over beers, I went back home and drafted up the touch ownership concept. It has been in Ubuntu's prototype implementation since it debuted in Ubuntu 11.04, and we were able to demonstrate its usage. This gave us all a good feeling that it was the right approach.
Now, we're almost done with our rearchitecture of the uTouch gesture stack, built on top of XInput multitouch. This functionality allows us to have a single process dedicated to gesture recognition, which then dispatches gesture events to clients who want them. The clients can then take them as they are, or analyze them further to see if they match their own filters for gestures. None of that would be possible without huge latencies if we hadn't added touch ownership support :).
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds