improved keymap parser

This commit is contained in:
Devaev Maxim
2020-05-24 15:43:17 +03:00
parent cf47e0c880
commit eeece34312
4 changed files with 40 additions and 18 deletions

View File

@@ -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)