[PATCH libinput 0/4] tools: provide a single 'libinput' tool (á la git)

Peter Hutterer peter.hutterer at who-t.net
Tue May 16 23:02:28 UTC 2017


We currently have two tools that we install - libinput-list-devices and
libinput-debug-events. There's a bunch of things we need to do for debugging
that is different enough that different tools are warranted for. Instead of
messing up /usr/bin with a swath of libinput-foo tools, let's switch to a
single 'libinput' tool and take commands instead, i.e. just like git does.
This patch set adds 'libinput list-devices' and 'libinput debug-events' but 
more tools will be incoming.

A nice side-effect of that is that we now have a 'libinput' man page too,
just in case somebody accidentally tries to read documentation before wildy
trying random commands in hope of success.

The old tools are still around, they'll remain for this release and then get
deprecated and eventually removed. Hence the #ifdefs sprinkled across, if
they're to be removed anyway I won't spend too much time polishing these.

Note that the GUI debugger is still currently a separate tool, not 100% sure
whether to merge it.

Cheers,
  Peter



More information about the wayland-devel mailing list