diff options
author | Michael Brown | 2012-03-27 22:04:18 +0200 |
---|---|---|
committer | Michael Brown | 2012-03-27 22:08:22 +0200 |
commit | e7d4d69031b944882fae786f4453e747bd9406c3 (patch) | |
tree | eaad046fb13b6f5c9dd5bf09151211ab7bf25189 /src/hci/keymap | |
parent | [console] Ignore unexpected keysyms when generating keyboard maps (diff) | |
download | ipxe-e7d4d69031b944882fae786f4453e747bd9406c3.tar.gz ipxe-e7d4d69031b944882fae786f4453e747bd9406c3.tar.xz ipxe-e7d4d69031b944882fae786f4453e747bd9406c3.zip |
[console] Add "no_latin1" keymap
The "no" keymap is for a Dvorak keyboard.
Reported-by: Robin Smidsrød <robin@smidsrod.no>
Tested-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/keymap')
-rw-r--r-- | src/hci/keymap/keymap_no-latin1.c | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/hci/keymap/keymap_no-latin1.c b/src/hci/keymap/keymap_no-latin1.c new file mode 100644 index 00000000..8c3e81b3 --- /dev/null +++ b/src/hci/keymap/keymap_no-latin1.c @@ -0,0 +1,34 @@ +/** @file + * + * "no-latin1" keyboard mapping + * + * This file is automatically generated; do not edit + * + */ + +FILE_LICENCE ( PUBLIC_DOMAIN ); + +#include <ipxe/keymap.h> + +/** "no-latin1" keyboard mapping */ +struct key_mapping no_latin1_mapping[] __keymap = { + { 0x26, 0x2f }, /* '&' => '/' */ + { 0x28, 0x29 }, /* '(' => ')' */ + { 0x29, 0x3d }, /* ')' => '=' */ + { 0x2a, 0x28 }, /* '*' => '(' */ + { 0x2b, 0x60 }, /* '+' => '`' */ + { 0x2d, 0x2b }, /* '-' => '+' */ + { 0x2f, 0x2d }, /* '/' => '-' */ + { 0x3c, 0x3b }, /* '<' => ';' */ + { 0x3d, 0x5c }, /* '=' => '\\' */ + { 0x3e, 0x3a }, /* '>' => ':' */ + { 0x3f, 0x5f }, /* '?' => '_' */ + { 0x40, 0x22 }, /* '@' => '"' */ + { 0x5c, 0x27 }, /* '\\' => '\'' */ + { 0x5d, 0x7e }, /* ']' => '~' */ + { 0x5e, 0x26 }, /* '^' => '&' */ + { 0x5f, 0x3f }, /* '_' => '?' */ + { 0x60, 0x7c }, /* '`' => '|' */ + { 0x7c, 0x2a }, /* '|' => '*' */ + { 0x7d, 0x5e }, /* '}' => '^' */ +}; |