iPXE
keymap_mt.c
Go to the documentation of this file.
1 /** @file
2  *
3  * "mt" keyboard mapping
4  *
5  * This file is automatically generated; do not edit
6  *
7  */
8 
9 FILE_LICENCE ( PUBLIC_DOMAIN );
10 FILE_SECBOOT ( PERMITTED );
11 
12 #include <ipxe/keymap.h>
13 
14 /** "mt" basic remapping */
15 static struct keymap_key mt_basic[] = {
16  { 0x1c, 0x1e }, /* 0x1c => 0x1e */
17  { 0x22, 0x40 }, /* '"' => '@' */
18  { 0x40, 0x22 }, /* '@' => '"' */
19  { 0x5c, 0x23 }, /* '\\' => '#' */
20  { 0x7c, 0x7e }, /* '|' => '~' */
21  { 0, 0 }
22 };
23 
24 /** "mt" AltGr remapping */
25 static struct keymap_key mt_altgr[] = {
26  { 0x26, 0x7b }, /* '&' => '{' */
27  { 0x28, 0x5d }, /* '(' => ']' */
28  { 0x29, 0x7d }, /* ')' => '}' */
29  { 0x2a, 0x5b }, /* '*' => '[' */
30  { 0x30, 0x7d }, /* '0' => '}' */
31  { 0x37, 0x7b }, /* '7' => '{' */
32  { 0x38, 0x5b }, /* '8' => '[' */
33  { 0x39, 0x5d }, /* '9' => ']' */
34  { 0x5c, 0x60 }, /* '\\' => '`' */
35  { 0x7e, 0x60 }, /* '~' => '`' */
36  { 0, 0 }
37 };
38 
39 /** "mt" keyboard map */
40 struct keymap mt_keymap __keymap = {
41  .name = "mt",
42  .basic = mt_basic,
43  .altgr = mt_altgr,
44 };
Keyboard mappings.
A remapped key.
Definition: keymap.h:23
static struct keymap_key mt_altgr[]
"mt" AltGr remapping
Definition: keymap_mt.c:25
static struct keymap_key mt_basic[]
"mt" basic remapping
Definition: keymap_mt.c:15
FILE_SECBOOT(PERMITTED)
struct keymap mt_keymap __keymap
"mt" keyboard map
Definition: keymap_mt.c:40
const char * name
Name.
Definition: keymap.h:33
A keyboard mapping.
Definition: keymap.h:31
FILE_LICENCE(PUBLIC_DOMAIN)