summaryrefslogtreecommitdiff
path: root/kvmd/keyboard/printer.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-05-24 15:43:17 +0300
committerDevaev Maxim <[email protected]>2020-05-24 15:43:17 +0300
commiteeece34312dc39f001c0718d07f12d90a279f736 (patch)
treec16b769f8df719f12b6d2a5d142929dd80340511 /kvmd/keyboard/printer.py
parentcf47e0c8805a27ef024f5024a75957ea159b0328 (diff)
improved keymap parser
Diffstat (limited to 'kvmd/keyboard/printer.py')
-rw-r--r--kvmd/keyboard/printer.py2
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)