aboutsummaryrefslogtreecommitdiffstats
path: root/src/hci/keymap/keymap_mt.c
blob: a95c5b4e84b22de29d51b46b015c71e839c34d84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/** @file
 *
 * "mt" keyboard mapping
 *
 * This file is automatically generated; do not edit
 *
 */

FILE_LICENCE ( PUBLIC_DOMAIN );

#include <ipxe/keymap.h>

/** "mt" basic remapping */
static struct keymap_key mt_basic[] = {
	{ 0x1c, 0x1e },	/* 0x1c => 0x1e */
	{ 0x22, 0x40 },	/* '"' => '@' */
	{ 0x40, 0x22 },	/* '@' => '"' */
	{ 0x5c, 0x23 },	/* '\\' => '#' */
	{ 0x7c, 0x7e },	/* '|' => '~' */
	{ 0, 0 }
};

/** "mt" AltGr remapping */
static struct keymap_key mt_altgr[] = {
	{ 0x30, 0x7d },	/* '0' => '}' */
	{ 0x37, 0x7b },	/* '7' => '{' */
	{ 0x38, 0x5b },	/* '8' => '[' */
	{ 0x39, 0x5d },	/* '9' => ']' */
	{ 0x5c, 0x60 },	/* '\\' => '`' */
	{ 0, 0 }
};

/** "mt" keyboard map */
struct keymap mt_keymap __keymap = {
	.name = "mt",
	.basic = mt_basic,
	.altgr = mt_altgr,
};