summaryrefslogtreecommitdiffstats
path: root/src/hci/keymap/keymap_cf.c
blob: 434e3383c08a6afddf64ac11b9b65fdbe54c3a36 (plain) (blame)
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
39
40
41
42
43
44
45
/** @file
 *
 * "cf" keyboard mapping
 *
 * This file is automatically generated; do not edit
 *
 */

FILE_LICENCE ( PUBLIC_DOMAIN );

#include <ipxe/keymap.h>

/** "cf" basic remapping */
static struct keymap_key cf_basic[] = {
	{ 0x22, 0x60 },	/* '"' => '`' */
	{ 0x23, 0x2f },	/* '#' => '/' */
	{ 0x27, 0x60 },	/* '\'' => '`' */
	{ 0x3c, 0x27 },	/* '<' => '\'' */
	{ 0x3e, 0x2e },	/* '>' => '.' */
	{ 0x40, 0x22 },	/* '@' => '"' */
	{ 0x5b, 0x5e },	/* '[' => '^' */
	{ 0x5c, 0x3c },	/* '\\' => '<' */
	{ 0x5e, 0x3f },	/* '^' => '?' */
	{ 0x60, 0x23 },	/* '`' => '#' */
	{ 0x7b, 0x5e },	/* '{' => '^' */
	{ 0x7c, 0x3e },	/* '|' => '>' */
	{ 0x7e, 0x7c },	/* '~' => '|' */
	{ 0, 0 }
};

/** "cf" AltGr remapping */
static struct keymap_key cf_altgr[] = {
	{ 0x27, 0x7b },	/* '\'' => '{' */
	{ 0x32, 0x40 },	/* '2' => '@' */
	{ 0x3b, 0x7e },	/* ';' => '~' */
	{ 0x60, 0x5c },	/* '`' => '\\' */
	{ 0, 0 }
};

/** "cf" keyboard map */
struct keymap cf_keymap __keymap = {
	.name = "cf",
	.basic = cf_basic,
	.altgr = cf_altgr,
};