diff options
| author | Michael Brown | 2011-03-16 04:22:45 +0100 |
|---|---|---|
| committer | Michael Brown | 2011-03-16 13:02:59 +0100 |
| commit | 1febd879e340958c7a4a54823a82784fcb3672ca (patch) | |
| tree | 2280bd30a465fa8bb2e4a4c25aef0ef85b417279 /src/hci/keymap/keymap_lt.c | |
| parent | [console] Add facility for rudimentary keyboard mapping (diff) | |
| download | ipxe-1febd879e340958c7a4a54823a82784fcb3672ca.tar.gz ipxe-1febd879e340958c7a4a54823a82784fcb3672ca.tar.xz ipxe-1febd879e340958c7a4a54823a82784fcb3672ca.zip | |
[console] Add keymap generator
Inspired by LILO's keytab-lilo.pl, genkeymap.pl uses "loadkeys -b" to
obtain a Linux keyboard map, and generates a file keymap_xx.c in
hci/keymap.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/keymap/keymap_lt.c')
| -rw-r--r-- | src/hci/keymap/keymap_lt.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/hci/keymap/keymap_lt.c b/src/hci/keymap/keymap_lt.c new file mode 100644 index 000000000..1a76c371c --- /dev/null +++ b/src/hci/keymap/keymap_lt.c @@ -0,0 +1,16 @@ +/** @file + * + * "lt" keyboard mapping + * + * This file is automatically generated; do not edit + * + */ + +FILE_LICENCE ( PUBLIC_DOMAIN ); + +#include <ipxe/keymap.h> + +/** "lt" keyboard mapping */ +struct key_mapping lt_mapping[] __keymap = { + { 0x7f, 0x08 }, /* 0x7f => Ctrl-H */ +}; |
