Several keyboard layouts define ASCII characters as accessible only via the AltGr modifier. Add support for this modifier to ensure that all ASCII characters are accessible. Experiments suggest that the BIOS console is likely to fail to generate ASCII characters when the AltGr key is pressed. Work around this limitation by accepting LShift+RShift (which will definitely produce an ASCII character) as a synonym for AltGr. Signed-off-by: Michael Brown <mcb30@ipxe.org>
31 lines
528 B
C
31 lines
528 B
C
/** @file
|
|
*
|
|
* "mk" keyboard mapping
|
|
*
|
|
* This file is automatically generated; do not edit
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( PUBLIC_DOMAIN );
|
|
|
|
#include <ipxe/keymap.h>
|
|
|
|
/** "mk" basic remapping */
|
|
static struct keymap_key mk_basic[] = {
|
|
{ 0xdc, 0x3c }, /* Pseudo-'\\' => '<' */
|
|
{ 0xfc, 0x3e }, /* Pseudo-'|' => '>' */
|
|
{ 0, 0 }
|
|
};
|
|
|
|
/** "mk" AltGr remapping */
|
|
static struct keymap_key mk_altgr[] = {
|
|
{ 0, 0 }
|
|
};
|
|
|
|
/** "mk" keyboard map */
|
|
struct keymap mk_keymap __keymap = {
|
|
.name = "mk",
|
|
.basic = mk_basic,
|
|
.altgr = mk_altgr,
|
|
};
|