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
9FILE_LICENCE ( PUBLIC_DOMAIN );
10FILE_SECBOOT ( PERMITTED );
11
12#include <ipxe/keymap.h>
13
14/** "mt" basic remapping */
15static 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 */
25static 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 */
40struct keymap mt_keymap __keymap = {
41 .name = "mt",
42 .basic = mt_basic,
43 .altgr = mt_altgr,
44};
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
Keyboard mappings.
#define __keymap
Define a keyboard mapping.
Definition keymap.h:47
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
A remapped key.
Definition keymap.h:23
A keyboard mapping.
Definition keymap.h:31