summaryrefslogtreecommitdiff
path: root/symbols
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2023-04-11 17:20:02 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2023-04-24 11:46:16 +0200
commit8877d052b1d60bc6c9ce87b2cfb092a6fb865b91 (patch)
treee920c4ce99c4efcd3edd06e4be9cead2ea41d969 /symbols
parentdfce90b2b3f3412d29b619f248e0ed4cbeaa31f0 (diff)
downloadxkeyboard-config-8877d052b1d60bc6c9ce87b2cfb092a6fb865b91.tar.gz
rules: make the `Shifts` group toggle override any layout's Shift keys
In order to make the option `grp:shifts_toggle` effective also with the few layouts that define the Shift keys too, the option should be applied to each group separately, and the option should specify the key type explicitly. This fixes issue #380. Problem existed since the T3 layout was added in 2013, and worsened when the E1 layout was added in 2020. Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
Diffstat (limited to 'symbols')
-rw-r--r--symbols/group4
1 files changed, 2 insertions, 2 deletions
diff --git a/symbols/group b/symbols/group
index ad36b02..9378cef 100644
--- a/symbols/group
+++ b/symbols/group
@@ -65,8 +65,8 @@ xkb_symbols "lalt_toggle" {
// (depending on which Shift is pressed first).
partial modifier_keys
xkb_symbols "shifts_toggle" {
- key <LFSH> {[ Shift_L, ISO_Prev_Group ]};
- key <RTSH> {[ Shift_R, ISO_Next_Group ]};
+ key <LFSH> {[ Shift_L, ISO_Prev_Group ], type[group1] = "TWO_LEVEL" };
+ key <RTSH> {[ Shift_R, ISO_Next_Group ], type[group1] = "TWO_LEVEL" };
};
// Pressing Caps_Lock switches to the next group,