aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/symbols/altwin
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkbdata.src/symbols/altwin')
-rw-r--r--xorg-server/xkbdata.src/symbols/altwin19
1 files changed, 12 insertions, 7 deletions
diff --git a/xorg-server/xkbdata.src/symbols/altwin b/xorg-server/xkbdata.src/symbols/altwin
index a3c633a0f..64e8a3577 100644
--- a/xorg-server/xkbdata.src/symbols/altwin
+++ b/xorg-server/xkbdata.src/symbols/altwin
@@ -18,6 +18,18 @@ xkb_symbols "ctrl_win" {
modifier_map Control { <LWIN>, <RWIN> };
};
+// Ctrl is mapped to the Alt-keys, Alt is mapped to the Win-keys, Win is mapped to the Ctrl-keys.
+partial modifier_keys
+xkb_symbols "ctrl_alt_win" {
+ key <LALT> { [ Control_L, Control_L ] };
+ key <RALT> { [ Control_R, Control_R ] };
+ key <LWIN> { [ Alt_L, Meta_L ] };
+ key <RWIN> { [ Alt_R, Meta_R ] };
+ modifier_map Control { <RALT>, <LALT> };
+ modifier_map Mod1 { <LWIN>, <RWIN> };
+};
+
+
partial modifier_keys
xkb_symbols "meta_win" {
key <LALT> { [ Alt_L, Alt_L ] };
@@ -37,13 +49,6 @@ xkb_symbols "left_meta_win" {
};
partial modifier_keys
-xkb_symbols "super_win" {
- key <LWIN> { [ Super_L ] };
- key <RWIN> { [ Super_R ] };
- modifier_map Mod4 { Super_L, Super_R };
-};
-
-partial modifier_keys
xkb_symbols "hyper_win" {
key <LWIN> { [ Hyper_L ] };
key <RWIN> { [ Hyper_R ] };