aboutsummaryrefslogtreecommitdiff
path: root/console-tools/showkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools/showkey.c')
-rw-r--r--console-tools/showkey.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/console-tools/showkey.c b/console-tools/showkey.c
index b7b4c32a8..c2447b887 100644
--- a/console-tools/showkey.c
+++ b/console-tools/showkey.c
@@ -6,6 +6,16 @@
*
* Licensed under GPLv2, see file LICENSE in this source tree.
*/
+//config:config SHOWKEY
+//config: bool "showkey"
+//config: default y
+//config: select PLATFORM_LINUX
+//config: help
+//config: Shows keys pressed.
+
+//applet:IF_SHOWKEY(APPLET(showkey, BB_DIR_USR_BIN, BB_SUID_DROP))
+
+//kbuild:lib-$(CONFIG_SHOWKEY) += showkey.o
//usage:#define showkey_trivial_usage
//usage: "[-a | -k | -s]"