iPXE
keymap_pt.c
Go to the documentation of this file.
1/** @file
2 *
3 * "pt" 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/** "pt" basic remapping */
15static struct keymap_key pt_basic[] = {
16 { 0x1c, 0x7e }, /* 0x1c => '~' */
17 { 0x1e, 0x36 }, /* 0x1e => '6' */
18 { 0x26, 0x2f }, /* '&' => '/' */
19 { 0x28, 0x29 }, /* '(' => ')' */
20 { 0x29, 0x3d }, /* ')' => '=' */
21 { 0x2a, 0x28 }, /* '*' => '(' */
22 { 0x2d, 0x27 }, /* '-' => '\'' */
23 { 0x2f, 0x2d }, /* '/' => '-' */
24 { 0x3c, 0x3b }, /* '<' => ';' */
25 { 0x3e, 0x3a }, /* '>' => ':' */
26 { 0x3f, 0x5f }, /* '?' => '_' */
27 { 0x40, 0x22 }, /* '@' => '"' */
28 { 0x5b, 0x2b }, /* '[' => '+' */
29 { 0x5c, 0x7e }, /* '\\' => '~' */
30 { 0x5e, 0x26 }, /* '^' => '&' */
31 { 0x5f, 0x3f }, /* '_' => '?' */
32 { 0x60, 0x5c }, /* '`' => '\\' */
33 { 0x7b, 0x2a }, /* '{' => '*' */
34 { 0x7c, 0x5e }, /* '|' => '^' */
35 { 0x7d, 0x60 }, /* '}' => '`' */
36 { 0x7e, 0x7c }, /* '~' => '|' */
37 { 0xdc, 0x3c }, /* Pseudo-'\\' => '<' */
38 { 0xfc, 0x3e }, /* Pseudo-'|' => '>' */
39 { 0, 0 }
40};
41
42/** "pt" AltGr remapping */
43static struct keymap_key pt_altgr[] = {
44 { 0x26, 0x7b }, /* '&' => '{' */
45 { 0x28, 0x5d }, /* '(' => ']' */
46 { 0x29, 0x7d }, /* ')' => '}' */
47 { 0x2a, 0x5b }, /* '*' => '[' */
48 { 0x30, 0x7d }, /* '0' => '}' */
49 { 0x32, 0x40 }, /* '2' => '@' */
50 { 0x37, 0x7b }, /* '7' => '{' */
51 { 0x38, 0x5b }, /* '8' => '[' */
52 { 0x39, 0x5d }, /* '9' => ']' */
53 { 0x51, 0x40 }, /* 'Q' => '@' */
54 { 0x71, 0x40 }, /* 'q' => '@' */
55 { 0, 0 }
56};
57
58/** "pt" keyboard map */
59struct keymap pt_keymap __keymap = {
60 .name = "pt",
61 .basic = pt_basic,
62 .altgr = pt_altgr,
63};
#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 pt_basic[]
"pt" basic remapping
Definition keymap_pt.c:15
static struct keymap_key pt_altgr[]
"pt" AltGr remapping
Definition keymap_pt.c:43
A remapped key.
Definition keymap.h:23
A keyboard mapping.
Definition keymap.h:31