mirror of
https://github.com/ipxe/ipxe
synced 2025-12-10 21:41:09 +03:00
Treat dead keys in target keymaps as producing the closest equivalent ASCII character, since many of these characters are otherwise unrepresented on the keyboard. Signed-off-by: Michael Brown <mcb30@ipxe.org>
58 lines
1.4 KiB
C
58 lines
1.4 KiB
C
/** @file
|
|
*
|
|
* "nl" keyboard mapping
|
|
*
|
|
* This file is automatically generated; do not edit
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( PUBLIC_DOMAIN );
|
|
|
|
#include <ipxe/keymap.h>
|
|
|
|
/** "nl" basic remapping */
|
|
static struct keymap_key nl_basic[] = {
|
|
{ 0x1c, 0x3c }, /* 0x1c => '<' */
|
|
{ 0x1d, 0x1c }, /* 0x1d => 0x1c */
|
|
{ 0x1e, 0x36 }, /* 0x1e => '6' */
|
|
{ 0x22, 0x60 }, /* '"' => '`' */
|
|
{ 0x26, 0x5f }, /* '&' => '_' */
|
|
{ 0x28, 0x29 }, /* '(' => ')' */
|
|
{ 0x29, 0x27 }, /* ')' => '\'' */
|
|
{ 0x2a, 0x28 }, /* '*' => '(' */
|
|
{ 0x2b, 0x7e }, /* '+' => '~' */
|
|
{ 0x2d, 0x2f }, /* '-' => '/' */
|
|
{ 0x2f, 0x2d }, /* '/' => '-' */
|
|
{ 0x3b, 0x2b }, /* ';' => '+' */
|
|
{ 0x3c, 0x3b }, /* '<' => ';' */
|
|
{ 0x3e, 0x3a }, /* '>' => ':' */
|
|
{ 0x3f, 0x3d }, /* '?' => '=' */
|
|
{ 0x40, 0x22 }, /* '@' => '"' */
|
|
{ 0x5c, 0x3c }, /* '\\' => '<' */
|
|
{ 0x5d, 0x2a }, /* ']' => '*' */
|
|
{ 0x5e, 0x26 }, /* '^' => '&' */
|
|
{ 0x5f, 0x3f }, /* '_' => '?' */
|
|
{ 0x60, 0x40 }, /* '`' => '@' */
|
|
{ 0x7b, 0x5e }, /* '{' => '^' */
|
|
{ 0x7c, 0x3e }, /* '|' => '>' */
|
|
{ 0x7d, 0x7c }, /* '}' => '|' */
|
|
{ 0xdc, 0x5d }, /* Pseudo-'\\' => ']' */
|
|
{ 0xfc, 0x5b }, /* Pseudo-'|' => '[' */
|
|
{ 0, 0 }
|
|
};
|
|
|
|
/** "nl" AltGr remapping */
|
|
static struct keymap_key nl_altgr[] = {
|
|
{ 0x2d, 0x5c }, /* '-' => '\\' */
|
|
{ 0x38, 0x7b }, /* '8' => '{' */
|
|
{ 0x39, 0x7d }, /* '9' => '}' */
|
|
{ 0, 0 }
|
|
};
|
|
|
|
/** "nl" keyboard map */
|
|
struct keymap nl_keymap __keymap = {
|
|
.name = "nl",
|
|
.basic = nl_basic,
|
|
.altgr = nl_altgr,
|
|
};
|