aboutsummaryrefslogtreecommitdiff
path: root/src/hci/keymap/keymap_mt.c
blob: f5baf690714a628bd73e6b184935f1502b327052 (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
/** @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[] = {
	{ 0x2d, 0x5c },	/* '-' => '\\' */
	{ 0, 0 }
};

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