[console] Include mappings for AltGr-Shift-<key>
The BIOS console's interpretation of LShift+RShift as equivalent to
AltGr requires the shifted ASCII characters to be present in the AltGr
mapping table, to allow AltGr-Shift-<key> to be interpreted in the
same way as AltGr-<key>.
For keyboard layouts that have different ASCII characters for
AltGr-<key> and AltGr-Shift-<key>, this will potentially leave the
character for AltGr-<key> inaccessible via the BIOS console if the
BIOS requires the use of the LShift+RShift workaround. This
theoretically affects the numeric keys in the Lithuanian ("lt")
keyboard layout (where the numerals are accessed via AltGr-<key> and
punctuation characters via AltGr-Shift-<key>), but the simple
workaround for that keyboard layout is to avoid using AltGr and Shift
entirely since the unmodified numeric keys are not remapped anyway.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -39,6 +39,7 @@ static struct keymap_key al_basic[] = {
|
||||
static struct keymap_key al_altgr[] = {
|
||||
{ 0x21, 0x7e }, /* '!' => '~' */
|
||||
{ 0x26, 0x60 }, /* '&' => '`' */
|
||||
{ 0x29, 0x7e }, /* ')' => '~' */
|
||||
{ 0x30, 0x7e }, /* '0' => '~' */
|
||||
{ 0x31, 0x7e }, /* '1' => '~' */
|
||||
{ 0x34, 0x7e }, /* '4' => '~' */
|
||||
|
||||
Reference in New Issue
Block a user