Weston multitouch support?
jose.exposito89 at gmail.com
Mon Jun 2 04:45:51 PDT 2014
I have checked the libinput implementation and, correct me if I'm wrong, I
have seen that 2 fingers click is interpreted as right click, 3 fingers
click is interpreted as middle click and there are some special rules for
specified trackpads, like corner clicks.
Does that mean that the other MT events are not sent to the clients? Could
it be possible to get the 2 fingers pinch gesture from a QML client for
So mainly my question is: is it possible to port (
https://code.google.com/p/touchegg/) as a wayland compositor, for example
to manage desktop specified gestures, and still use client gestures like
pinch and zoom?
By the way, I compiled Wayland/Weston as specified here:
And QtWayland as specified here:
But I don't see any references to the forked libinput library. Does that
mean that I should compile libinput and recompile Wayland/Weston against
this library instead of the system one?
I'm sorry for all the questions, but I didn't find any documentation about
2014-06-02 4:30 GMT+01:00 Peter Hutterer <peter.hutterer at who-t.net>:
> On Sun, Jun 01, 2014 at 11:38:02PM +0100, José Expósito wrote:
> > Hi Daniel,
> > I'm asking because I'm the author of this tool:
> > https://code.google.com/p/touchegg/
> > That is exactly what you mention but for X11. So I'd like to port it to
> > Wayland if it is possible of course.
> > > The intention was to reserve trackpad
> > > gestures for a gesture interpreter
> > > which lives in the compositor and is
> > > properly integrated with, e.g., scrolling
> > > and tap-to-click.
> > Does this mean that it is possible to get multi touch gestures in the
> > compositor at the moment?
> > Will or is it possible to use both approach? I mean, get system gestures
> > the compositor and app specified gestures in the clients, like in OS X.
> the input stack in weston atm is that you get touch events from a
> direct-touch MT device raw and unprocessed (save for mapping), but for
> touchpads some input events are interpreted by the stack (libinput or
> evdev-touchpad.c) and then passed on as pointer events, you don't see the
> bits of those.
> > Thank you very much!
> > El 01/06/2014 23:24, "Daniel Stone" <daniel at fooishbar.org> escribió:
> > > Hi,
> > >
> > >
> > > On 1 June 2014 02:03, José Expósito <jose.exposito89 at gmail.com> wrote:
> > >
> > >> And I say more or less because it is necessary to put 3 fingers on the
> > >> trackpad to start moving the rectangles...
> > >> Anyway, the program is not working on Weston. My question is, is that
> > >> because Weston doesn't implement multitouch support or because Wayland
> > >> doesn't support it at the moment? Could it be possible to implement
> > >> multitouch support in a custom compositor?
> > >>
> > >
> > > Wayland doesn't (currently) support touchpad gestures for arbitrary
> > > clients; trying to do it for X11 uncovered a whole host of really
> > > and annoying issues. The intention was to reserve trackpad gestures
> for a
> > > gesture interpreter which lives in the compositor and is properly
> > > integrated with, e.g., scrolling and tap-to-click.
> > >
> > > Can I ask if you had a specific usecase in mind?
> > >
> > > Cheers,
> > > Daniel
> > >
> > _______________________________________________
> > wayland-devel mailing list
> > wayland-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/wayland-devel
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel