libinput/tools
Peter Hutterer 1c6e6a6814 tools: hide key codes by default
libinput-debug-events prints keycodes as they come in. This makes it dangerous
to be run by users (especially in the background) because it will leak
sensitive information as it is typed. Obfuscate the base set of keycodes
by default, require a --show-keycodes switch to show it.

The few times we actually need the keycodes, we can run the switch in the
debugging tool.

This does not affect keys outside of the main block on the keyboard (F-keys,
multimedia keys).

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
(cherry picked from commit 8c1aa1de00)
2017-02-21 11:22:30 +10:00
..
.gitignore tools: ship the event-debug tool as an installed libinput-debug-events tool 2015-04-30 19:20:49 +10:00
event-debug.c tools: hide key codes by default 2017-02-21 11:22:30 +10:00
event-gui.c tools: fix comment wording 2016-12-06 11:02:13 +10:00
libinput-debug-events.man tools: ship the event-debug tool as an installed libinput-debug-events tool 2015-04-30 19:20:49 +10:00
libinput-list-devices.c tools: include config.h in libinput-list-devices and ptraccel-debug 2016-12-06 11:02:14 +10:00
libinput-list-devices.man tools: fix typo in man page 2015-04-30 16:44:43 +10:00
make-ptraccel-graphs.sh doc: update the touchpad pointer acceleration svg 2016-12-21 10:55:57 +10:00
Makefile.am tools: make sure GCC_FLAGS is used in tools/ 2016-12-06 11:02:14 +10:00
ptraccel-debug.c tools: switch the ptraccel-debug printf to use mm/s 2016-12-21 10:55:57 +10:00
publish-doc tools: update the doc publish tool to take a subdir 2016-04-12 07:56:52 +10:00
shared.c tools: hide key codes by default 2017-02-21 11:22:30 +10:00
shared.h tools: hide key codes by default 2017-02-21 11:22:30 +10:00