diff options
author | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2012-03-22 14:11:12 +0000 |
commit | 67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch) | |
tree | a4a1db7f54c16d12fabe2626b8f1e235cd694e9e /console-tools/showkey.c | |
parent | 811c449748d5bd0505f8510e5582892f94ac0cda (diff) | |
parent | b83c9704128dd106071184e4b00335a3b8486857 (diff) | |
download | busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2 busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip |
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'console-tools/showkey.c')
-rw-r--r-- | console-tools/showkey.c | 9 |
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 | ||