[PATCH libinput 00/11] Move the libinput tool to exec the subtools

Peter Hutterer peter.hutterer at who-t.net
Sun May 28 22:47:53 UTC 2017


Fair bit of cleanup, but the gist is patch 03 and 11 shows why. I started
adding helper tools to libinput but having to chain the args inside the same
process is tricky enough to not be worth it. The only benefit we would've
had is for easier global options but they don't apply to a bunch of
subcommands anyway. So I switched to use the same approach that git uses,
check the command, modify argv[0] and then execute that from libexec.

This also removes the in-tree event-gui and event-debug, the latter is now
available as the debug-gui, and event-debug is the same as
libinput-debug-events (on meson, anyway).

The libinput-list-devices and libinput-debug-events commands are now wrapper
scripts that print a warning about the new world order. They'll be removed
at some point in the future.

The new feature here is a tool to measure touchpad tap times. This is still
in its infancy, specifically it doesn't measure everything we need but
that's easier added later than making the existing patchset even larger.

Cheers,
  Peter


More information about the wayland-devel mailing list