[RFC] Pointer gestures protocol
carlosg at gnome.org
Wed Jul 15 11:02:09 PDT 2015
Now that we have touchpad gesture support in libinput, would be great to get some protocol so clients can take advantage of this.
Following is the protocol that Peter and I came up with after some brainstorming, I'm also attaching weston patches which offer minimal support, and make eventdemo print info about gesture events.
In order to validate the protocol addition and the whole implementation, it was better to use a real toolkit though, the following branch adds integral support to GTK+:
And mutter has a similar branch at:
As for the protocol itself, it's mostly straightforward given the libinput implementation. the gestures are separated into different interfaces, which are all fetched from the wl_pointer, which means that gestures are implicitly attached to the pointer surface and position.
More information about the wayland-devel