summaryrefslogtreecommitdiff
path: root/tools/libinput-measure.c
AgeCommit message (Collapse)AuthorFilesLines
2018-02-26tools: fix option parsing in libinput measurePeter Hutterer1-1/+1
Missing '+' in the optstring caused it to evaluate all options. If any argument was passed to a subcommand, libinput-measure would throw an error and exit. https://bugs.freedesktop.org/show_bug.cgi?id=105246 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-06-22tools: shorten the --help output for the commandsPeter Hutterer1-14/+1
The full information is now in the man page, the usage() now just tells you how to use it. This way there's only one place to maintain it. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-06-02tools: add "libinput measure touchpad-tap"Peter Hutterer1-0/+92
This is the first tool of many more to come to enable users to gather information aobut their devices and/or usage of these devices. Previously, these required the users to record events, submit them to a bugzilla, have me run various scripts over it and then decree that the scripts have spoken. Push some of this into the hands of the users so they can query the numbers locally and start investigating (or at least get an idea of what's happening). This tool measures the time deltas between touch up and touch down and prints a basic summary, together with the ability to print a dat file with the data for visualization by e.g. gnuplot. Eventually, more of the current analysis scripts will be moved into this or other helpers. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>