From 5d8633556e2e4448e3fc322d68890fe1ea61624a Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Thu, 2 Jan 2025 19:11:57 +0200 Subject: fixed missing modifiers mapping --- kvmd/keyboard/mappings.py.mako | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'kvmd/keyboard/mappings.py.mako') 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: -- cgit v1.2.3