diff options
author | Devaev Maxim <[email protected]> | 2020-10-08 12:18:38 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-10-08 12:18:38 +0300 |
commit | f1910f7c8ec085eece1adc56ff999527881e71d9 (patch) | |
tree | 4f3cb6c481a7d0f29b91fa8ccc9e320f3a29b73b /kvmd/keyboard/mappings.py.mako | |
parent | 920f648d6526217009f8ee4dc6e943a28a4886db (diff) |
more correct keymap handling
Diffstat (limited to 'kvmd/keyboard/mappings.py.mako')
-rw-r--r-- | kvmd/keyboard/mappings.py.mako | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/keyboard/mappings.py.mako b/kvmd/keyboard/mappings.py.mako index 35b3b281..1c13b8a9 100644 --- a/kvmd/keyboard/mappings.py.mako +++ b/kvmd/keyboard/mappings.py.mako @@ -62,7 +62,7 @@ class At1Key: X11_TO_AT1 = { % for km in sorted(keymap, key=operator.attrgetter("at1_code")): % for x11_key in sorted(km.x11_keys, key=(lambda key: (key.code, key.shift))): - ${x11_key.code}: At1Key(code=${km.at1_code}, shift=${x11_key.shift}), # ${x11_key.name} + ${x11_key.code}: [At1Key(code=${km.at1_code}, shift=${x11_key.shift})], # ${x11_key.name} % endfor % endfor } |