mirror of
https://github.com/ipxe/ipxe
synced 2025-12-12 06:22:01 +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>
61 lines
1.5 KiB
C
61 lines
1.5 KiB
C
/** @file
|
|
*
|
|
* "hu" keyboard mapping
|
|
*
|
|
* This file is automatically generated; do not edit
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( PUBLIC_DOMAIN );
|
|
|
|
#include <ipxe/keymap.h>
|
|
|
|
/** "hu" basic remapping */
|
|
static struct keymap_key hu_basic[] = {
|
|
{ 0x19, 0x1a }, /* Ctrl-Y => Ctrl-Z */
|
|
{ 0x1a, 0x19 }, /* Ctrl-Z => Ctrl-Y */
|
|
{ 0x1e, 0x36 }, /* 0x1e => '6' */
|
|
{ 0x21, 0x27 }, /* '!' => '\'' */
|
|
{ 0x23, 0x2b }, /* '#' => '+' */
|
|
{ 0x24, 0x21 }, /* '$' => '!' */
|
|
{ 0x26, 0x3d }, /* '&' => '=' */
|
|
{ 0x28, 0x29 }, /* '(' => ')' */
|
|
{ 0x2a, 0x28 }, /* '*' => '(' */
|
|
{ 0x2f, 0x2d }, /* '/' => '-' */
|
|
{ 0x3c, 0x3f }, /* '<' => '?' */
|
|
{ 0x3e, 0x3a }, /* '>' => ':' */
|
|
{ 0x3f, 0x5f }, /* '?' => '_' */
|
|
{ 0x40, 0x22 }, /* '@' => '"' */
|
|
{ 0x59, 0x5a }, /* 'Y' => 'Z' */
|
|
{ 0x5a, 0x59 }, /* 'Z' => 'Y' */
|
|
{ 0x5e, 0x2f }, /* '^' => '/' */
|
|
{ 0x60, 0x30 }, /* '`' => '0' */
|
|
{ 0x79, 0x7a }, /* 'y' => 'z' */
|
|
{ 0x7a, 0x79 }, /* 'z' => 'y' */
|
|
{ 0, 0 }
|
|
};
|
|
|
|
/** "hu" AltGr remapping */
|
|
static struct keymap_key hu_altgr[] = {
|
|
{ 0x2e, 0x3e }, /* '.' => '>' */
|
|
{ 0x2f, 0x2a }, /* '/' => '*' */
|
|
{ 0x32, 0x5e }, /* '2' => '^' */
|
|
{ 0x33, 0x5e }, /* '3' => '^' */
|
|
{ 0x37, 0x60 }, /* '7' => '`' */
|
|
{ 0x3b, 0x24 }, /* ';' => '$' */
|
|
{ 0x63, 0x26 }, /* 'c' => '&' */
|
|
{ 0x6d, 0x3c }, /* 'm' => '<' */
|
|
{ 0x76, 0x40 }, /* 'v' => '@' */
|
|
{ 0x78, 0x23 }, /* 'x' => '#' */
|
|
{ 0x7a, 0x3e }, /* 'z' => '>' */
|
|
{ 0xdc, 0x3c }, /* Pseudo-'\\' => '<' */
|
|
{ 0, 0 }
|
|
};
|
|
|
|
/** "hu" keyboard map */
|
|
struct keymap hu_keymap __keymap = {
|
|
.name = "hu",
|
|
.basic = hu_basic,
|
|
.altgr = hu_altgr,
|
|
};
|