mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
improved keymap parser
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user