diff options
-rw-r--r-- | kvmd/keyboard/mappings.py | 8 | ||||
-rw-r--r-- | kvmd/keyboard/mappings.py.mako | 8 |
2 files changed, 13 insertions, 3 deletions
diff --git a/kvmd/keyboard/mappings.py b/kvmd/keyboard/mappings.py index bfefa712..57744cea 100644 --- a/kvmd/keyboard/mappings.py +++ b/kvmd/keyboard/mappings.py @@ -168,9 +168,13 @@ class WebModifiers: CTRL_LEFT = "ControlLeft" CTRL_RIGHT = "ControlRight" - CTRLS = set([CTRL_RIGHT, CTRL_RIGHT]) + CTRLS = set([CTRL_LEFT, CTRL_RIGHT]) + + META_LEFT = "MetaLeft" + META_RIGHT = "MetaRight" + METAS = set([META_LEFT, META_RIGHT]) - ALL = (SHIFTS | ALTS | CTRLS) + ALL = (SHIFTS | ALTS | CTRLS | METAS) class X11Modifiers: diff --git a/kvmd/keyboard/mappings.py.mako b/kvmd/keyboard/mappings.py.mako index a8df423c..1be41854 100644 --- a/kvmd/keyboard/mappings.py.mako +++ b/kvmd/keyboard/mappings.py.mako @@ -60,7 +60,13 @@ class WebModifiers: CTRL_LEFT = "ControlLeft" CTRL_RIGHT = "ControlRight" - CTRLS = set([CTRL_RIGHT, CTRL_RIGHT]) + CTRLS = set([CTRL_LEFT, CTRL_RIGHT]) + + META_LEFT = "MetaLeft" + META_RIGHT = "MetaRight" + METAS = set([META_LEFT, META_RIGHT]) + + ALL = (SHIFTS | ALTS | CTRLS | METAS) class X11Modifiers: |