[PATCH libinput 00/19] mt touchpad implementation

Peter Hutterer peter.hutterer at who-t.net
Mon Mar 24 18:02:37 PDT 2014

On Mon, Feb 17, 2014 at 04:48:19PM +1000, Peter Hutterer wrote:
> Here's the base of a touchpad implementation that's more geared towards
> modern multitouch-capable touchpads than the current xorg synaptics driver
> or, for that matter, the libinput one.

just for the archives, I've pushed this driver now. The old one is still in
the repo so if this one really doesn't work on your hardware you can revert
6a6103262530d8fca66ee3847d5664824158c12b locally. While you hopefully file a
bug and give us a chance to fix the new one :)


> This isn't a completely new implementation, I worked on a project named
> libtouchpad a few months back, most of this is porting things over to
> libinput. Note that parts are still work in progress, but I'd like to merge
> it soon so we can concentrate on fixing it instead of me rebasing a massive
> patchset.
> The big difference to other existing drivers is that each touchpoint is
> handled separately. That allows us to do a couple of things better than
> before: because we can tell where each finger is, software button handling,
> clickpad drag-and-drop, etc. becomes a lot easier to handle.
> The features already working in this driver:
> - 1, 2, 3-finger tapping
> - 2-finger scrolling
> - clickfinger, 1-2-3 fingers on the touchpad when clicking cause LRM click
> - drag-n-drop on clickpads
> - single-touch touchpad support (+ tapping and 2 finger scrolling)
> Features in the pipe (i.e. need porting):
> - clickpad software button support
> - better timeout handling (a read delay coupled with a timeout may trigger
>   the wrong events)
> Features planned:
> - top software button area
> - trackstick mode (T440)
> - disable-while-typing
> - better motion filters, especially during tapping and clicking
> - pinch/rotation support
> - better handling of vert → horizontal scrolling. Right now the scroll
>   direction is locked after the first movement, I'd like to use a
>   time-dependent vector to decide when a sideways motion enables horizontal
>   scrolling
> I think that about covers it for now. You can test the code on
>   http://github.com/whot/libinput wip/mt-touchpad
> and a basic X driver is here:
>   http://github.com/whot/xf86-input-libinput
> Any comments?

More information about the wayland-devel mailing list