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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/console-tools/showkey.c b/console-tools/showkey.c
index 06df68bfd..2c832c92c 100644
--- a/console-tools/showkey.c
+++ b/console-tools/showkey.c
@@ -7,6 +7,15 @@
7 * Licensed under GPLv2, see file LICENSE in this source tree. 7 * Licensed under GPLv2, see file LICENSE in this source tree.
8 */ 8 */
9 9
10//usage:#define showkey_trivial_usage
11//usage: "[-a | -k | -s]"
12//usage:#define showkey_full_usage "\n\n"
13//usage: "Show keys pressed\n"
14//usage: "\nOptions:"
15//usage: "\n -a Display decimal/octal/hex values of the keys"
16//usage: "\n -k Display interpreted keycodes (default)"
17//usage: "\n -s Display raw scan-codes"
18
10#include "libbb.h" 19#include "libbb.h"
11#include <linux/kd.h> 20#include <linux/kd.h>
12 21