diff options
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 @@ | |||
8 | * | 8 | * |
9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 9 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
10 | */ | 10 | */ |
11 | |||
12 | //usage:#define setkeycodes_trivial_usage | ||
13 | //usage: "SCANCODE KEYCODE..." | ||
14 | //usage:#define setkeycodes_full_usage "\n\n" | ||
15 | //usage: "Set entries into the kernel's scancode-to-keycode map,\n" | ||
16 | //usage: "allowing unusual keyboards to generate usable keycodes.\n\n" | ||
17 | //usage: "SCANCODE may be either xx or e0xx (hexadecimal),\n" | ||
18 | //usage: "and KEYCODE is given in decimal." | ||
19 | //usage: | ||
20 | //usage:#define setkeycodes_example_usage | ||
21 | //usage: "$ setkeycodes e030 127\n" | ||
22 | |||
11 | #include "libbb.h" | 23 | #include "libbb.h" |
12 | 24 | ||
13 | /* From <linux/kd.h> */ | 25 | /* From <linux/kd.h> */ |