iPXE
keymap_sg.c File Reference

"sg" keyboard mapping More...

#include <ipxe/keymap.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (PUBLIC_DOMAIN)
 FILE_SECBOOT (PERMITTED)

Variables

static struct keymap_key sg_basic []
 "sg" basic remapping
static struct keymap_key sg_altgr []
 "sg" AltGr remapping
struct keymap sg_keymap __keymap
 "sg" keyboard map

Detailed Description

"sg" keyboard mapping

This file is automatically generated; do not edit

Definition in file keymap_sg.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( PUBLIC_DOMAIN )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

Variable Documentation

◆ sg_basic

struct keymap_key sg_basic[]
static

"sg" basic remapping

Definition at line 15 of file keymap_sg.c.

15 {
16 { 0x19, 0x1a }, /* Ctrl-Y => Ctrl-Z */
17 { 0x1a, 0x19 }, /* Ctrl-Z => Ctrl-Y */
18 { 0x21, 0x2b }, /* '!' => '+' */
19 { 0x23, 0x2a }, /* '#' => '*' */
20 { 0x24, 0x34 }, /* '$' => '4' */
21 { 0x26, 0x2f }, /* '&' => '/' */
22 { 0x28, 0x29 }, /* '(' => ')' */
23 { 0x29, 0x3d }, /* ')' => '=' */
24 { 0x2a, 0x28 }, /* '*' => '(' */
25 { 0x2b, 0x60 }, /* '+' => '`' */
26 { 0x2d, 0x27 }, /* '-' => '\'' */
27 { 0x2f, 0x2d }, /* '/' => '-' */
28 { 0x3c, 0x3b }, /* '<' => ';' */
29 { 0x3d, 0x5e }, /* '=' => '^' */
30 { 0x3e, 0x3a }, /* '>' => ':' */
31 { 0x3f, 0x5f }, /* '?' => '_' */
32 { 0x40, 0x22 }, /* '@' => '"' */
33 { 0x59, 0x5a }, /* 'Y' => 'Z' */
34 { 0x5a, 0x59 }, /* 'Z' => 'Y' */
35 { 0x5c, 0x24 }, /* '\\' => '$' */
36 { 0x5e, 0x26 }, /* '^' => '&' */
37 { 0x5f, 0x3f }, /* '_' => '?' */
38 { 0x79, 0x7a }, /* 'y' => 'z' */
39 { 0x7a, 0x79 }, /* 'z' => 'y' */
40 { 0x7c, 0x24 }, /* '|' => '$' */
41 { 0x7d, 0x21 }, /* '}' => '!' */
42 { 0xdc, 0x3c }, /* Pseudo-'\\' => '<' */
43 { 0xfc, 0x3e }, /* Pseudo-'|' => '>' */
44 { 0, 0 }
45};

◆ sg_altgr

struct keymap_key sg_altgr[]
static
Initial value:
= {
{ 0x22, 0x7b },
{ 0x26, 0x7c },
{ 0x27, 0x7b },
{ 0x2b, 0x7e },
{ 0x32, 0x40 },
{ 0x33, 0x23 },
{ 0x37, 0x7c },
{ 0x3d, 0x7e },
{ 0x5c, 0x7d },
{ 0x7b, 0x5b },
{ 0x7c, 0x7d },
{ 0x7d, 0x5d },
{ 0xfc, 0x5c },
{ 0, 0 }
}

"sg" AltGr remapping

Definition at line 48 of file keymap_sg.c.

48 {
49 { 0x22, 0x7b }, /* '"' => '{' */
50 { 0x26, 0x7c }, /* '&' => '|' */
51 { 0x27, 0x7b }, /* '\'' => '{' */
52 { 0x2b, 0x7e }, /* '+' => '~' */
53 { 0x32, 0x40 }, /* '2' => '@' */
54 { 0x33, 0x23 }, /* '3' => '#' */
55 { 0x37, 0x7c }, /* '7' => '|' */
56 { 0x3d, 0x7e }, /* '=' => '~' */
57 { 0x5c, 0x7d }, /* '\\' => '}' */
58 { 0x7b, 0x5b }, /* '{' => '[' */
59 { 0x7c, 0x7d }, /* '|' => '}' */
60 { 0x7d, 0x5d }, /* '}' => ']' */
61 { 0xfc, 0x5c }, /* Pseudo-'|' => '\\' */
62 { 0, 0 }
63};

◆ __keymap

struct keymap sg_keymap __keymap
Initial value:
= {
.name = "sg",
.basic = sg_basic,
.altgr = sg_altgr,
}
static struct keymap_key sg_basic[]
"sg" basic remapping
Definition keymap_sg.c:15
static struct keymap_key sg_altgr[]
"sg" AltGr remapping
Definition keymap_sg.c:48

"sg" keyboard map

Definition at line 66 of file keymap_sg.c.

66 {
67 .name = "sg",
68 .basic = sg_basic,
69 .altgr = sg_altgr,
70};