diff options
author | Devaev Maxim <[email protected]> | 2020-05-24 15:43:17 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-05-24 15:43:17 +0300 |
commit | eeece34312dc39f001c0718d07f12d90a279f736 (patch) | |
tree | c16b769f8df719f12b6d2a5d142929dd80340511 /kvmd/keyboard/printer.py | |
parent | cf47e0c8805a27ef024f5024a75957ea159b0328 (diff) |
improved keymap parser
Diffstat (limited to 'kvmd/keyboard/printer.py')
-rw-r--r-- | kvmd/keyboard/printer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kvmd/keyboard/printer.py b/kvmd/keyboard/printer.py index 2e26c232..2fb7d756 100644 --- a/kvmd/keyboard/printer.py +++ b/kvmd/keyboard/printer.py @@ -47,6 +47,8 @@ def text_to_web_keys( key = symmap[code] except Exception: continue + if key.altgr or key.ctrl: + continue # Not supported yet if key.shift and not shifted: yield (shift_key, True) |