diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-03-28 01:42:28 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-03-28 04:51:01 +0400 |
commit | 55068c478ee8e8c058b0c9e37ce0ca57612c95b1 (patch) | |
tree | 31db732832446b4c231ecb2752279728ae9b9824 /console-tools/setkeycodes.c | |
parent | 6ec1510f719ad7463d76eea9284428cc605d6b38 (diff) |
move help text from include/usage.src.h to console-tools/*.c
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'console-tools/setkeycodes.c')
-rw-r--r-- | console-tools/setkeycodes.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c index ca8cd21c2..a6a7c2374 100644 --- a/console-tools/setkeycodes.c +++ b/console-tools/setkeycodes.c @@ -8,6 +8,18 @@ * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ + +//usage:#define setkeycodes_trivial_usage +//usage: "SCANCODE KEYCODE..." +//usage:#define setkeycodes_full_usage "\n\n" +//usage: "Set entries into the kernel's scancode-to-keycode map,\n" +//usage: "allowing unusual keyboards to generate usable keycodes.\n\n" +//usage: "SCANCODE may be either xx or e0xx (hexadecimal),\n" +//usage: "and KEYCODE is given in decimal." +//usage: +//usage:#define setkeycodes_example_usage +//usage: "$ setkeycodes e030 127\n" + #include "libbb.h" /* From <linux/kd.h> */ |