summaryrefslogtreecommitdiff
path: root/symbols/level5
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2022-06-09 11:04:22 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2022-06-09 11:38:37 +0200
commit4a60b90f119db150132901bd13355611de67aa69 (patch)
tree910c3342fc7d468f80256947e7f058b78c6beeea /symbols/level5
parent2c7e30dc0a42a5a7ff9dbd7208b10c789896ce3b (diff)
downloadxkeyboard-config-4a60b90f119db150132901bd13355611de67aa69.tar.gz
symbols: remove redundant mappings and assignments for <LVL3> and <LVL5>
In symbols/pc, <LVL3> gets ISO_Level3_Shift assigned and mapped to Mod5, and <LVL5> gets ISO_Level5_Shift assigned and mapped to Mod3, and there is not any layout nor any option that changes anything in this. Thus, repeating these assignments and mappings is entirely superfluous. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Diffstat (limited to 'symbols/level5')
-rw-r--r--symbols/level516
1 files changed, 0 insertions, 16 deletions
diff --git a/symbols/level5 b/symbols/level5
index 487a1d6..27edd7c 100644
--- a/symbols/level5
+++ b/symbols/level5
@@ -8,7 +8,6 @@ xkb_symbols "rctrl_switch" {
type[Group1]="ONE_LEVEL",
symbols[Group1] = [ ISO_Level5_Shift ]
};
- include "level5(modifier_mapping)"
};
// The Less/Greater key (while pressed) chooses the fifth shift level.
@@ -18,7 +17,6 @@ xkb_symbols "lsgt_switch" {
type[Group1]="ONE_LEVEL",
symbols[Group1] = [ ISO_Level5_Shift ]
};
- include "level5(modifier_mapping)"
};
// The right Alt key (while pressed) chooses the fifth shift level.
@@ -28,7 +26,6 @@ xkb_symbols "ralt_switch" {
type[Group1]="ONE_LEVEL",
symbols[Group1] = [ ISO_Level5_Shift ]
};
- include "level5(modifier_mapping)"
};
// The CapsLock key (while pressed) chooses the fifth shift level.
@@ -38,7 +35,6 @@ xkb_symbols "caps_switch" {
type[Group1]="ONE_LEVEL",
symbols[Group1] = [ ISO_Level5_Shift ]
};
- include "level5(modifier_mapping)"
};
// The Menu key (while pressed) chooses the fifth shift level.
@@ -48,17 +44,6 @@ xkb_symbols "menu_switch" {
type[Group1]="ONE_LEVEL",
symbols[Group1] = [ ISO_Level5_Shift ]
};
- include "level5(modifier_mapping)"
-};
-
-// Ensure a mapping to a real modifier for LevelFive.
-partial modifier_keys
-xkb_symbols "modifier_mapping" {
- replace key <LVL5> {
- type[Group1] = "ONE_LEVEL",
- symbols[Group1] = [ ISO_Level5_Shift ]
- };
- modifier_map Mod3 { <LVL5> };
};
// This adds the definitions needed to create a level5-locking behaviour,
@@ -73,7 +58,6 @@ xkb_symbols "lock" {
actions[Group1] = [ SetMods(modifiers=NumLock) ]
};
modifier_map Mod2 { <HYPR> };
- include "level5(modifier_mapping)"
};
// The following modifier keys are used to switch to the third shift level