diff options
author | Michael Brown <mcb30@ipxe.org> | 2022-02-15 11:43:08 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2022-02-15 13:37:44 +0000 |
commit | 164db2cc630932a91119b1aee5fa299d17716819 (patch) | |
tree | 07ca2c7449265426f7d92ba3b8c3e9b279b20417 /src/util | |
parent | c7d78192919bfa62fde33650e1506e902816eec3 (diff) | |
download | ipxe-164db2cc630932a91119b1aee5fa299d17716819.tar.gz |
[console] Fix unreachable characters in "il" keymap
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util')
-rwxr-xr-x | src/util/genkeymap.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/genkeymap.py b/src/util/genkeymap.py index 42ccee175..5f87a89d2 100755 --- a/src/util/genkeymap.py +++ b/src/util/genkeymap.py @@ -176,6 +176,12 @@ class KeyLayout(UserDict[KeyModifiers, Sequence[Key]]): # Treat Ctrl-Backspace as producing Backspace rather than Ctrl-H KeyModifiers.CTRL: [(KEY_BACKSPACE, 0x7f)], }, + 'il': { + # Redefine some otherwise unreachable ASCII characters + # using the closest available approximation + KeyModifiers.ALTGR: [(0x28, ord('\'')), (0x2b, ord('`')), + (0x35, ord('/'))], + }, } """Fixups for erroneous keymappings produced by 'loadkeys -b'""" |