diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2017-02-24 16:11:46 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-02-24 16:11:46 +1000 |
commit | 451c6913e5e94511bbdfd16cb2c111cd4cfab6a1 (patch) | |
tree | d32015791765d3ebe3f22cc2a890d070843b5088 /tools/shared.h | |
parent | faf86d3e374b568c7fc6ee64af7ee1f9a8013ada (diff) | |
download | libinput-451c6913e5e94511bbdfd16cb2c111cd4cfab6a1.tar.gz |
tools: add "--quiet" option to only log libinput messages
Supresses any printf statements from the tool itself, i.e. it skips printing
any of the events.
Makes it easier to debug the internal state since it's not intermixed with a
whole lot of messages about the events that are generated. Best combined with
--verbose (yes, hilarious, isn't it...)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'tools/shared.h')
-rw-r--r-- | tools/shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.h b/tools/shared.h index 9b1a9884..d19d52aa 100644 --- a/tools/shared.h +++ b/tools/shared.h @@ -39,6 +39,7 @@ struct tools_options { const char *seat; /* if backend is BACKEND_UDEV */ int grab; /* EVIOCGRAB */ bool show_keycodes; /* show keycodes */ + bool quiet; /* only print libinput messages */ int verbose; int tapping; |