aboutsummaryrefslogtreecommitdiff
path: root/src/util/genkeymap.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/genkeymap.py')
-rwxr-xr-xsrc/util/genkeymap.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/genkeymap.py b/src/util/genkeymap.py
index 42ccee1..5f87a89 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'"""