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>
This commit is contained in:
Pere Orga
2011-03-27 23:42:28 +02:00
committed by Denys Vlasenko
parent 6ec1510f71
commit 55068c478e
16 changed files with 119 additions and 111 deletions

View File

@ -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> */