xkeyboard-config/xkeyboard-config.mainline-cvs.group.patch

48 lines
1.5 KiB
Diff

symbols/group revision 1.10
rules/base.o_s.part revision 1.18
date: 2006-10-16 21:27:05 +0200; author: svu; state: Exp; lines: +14 -1
added Alexey Morozov <morozov@gorodok.net>
---
rules/base.o_s.part | 1 +
symbols/group | 13 +++++++++++++
2 files changed, 14 insertions(+)
Index: symbols/group
===================================================================
--- symbols/group.orig
+++ symbols/group
@@ -113,6 +113,19 @@ xkb_symbols "ctrl_shift_toggle" {
key <RCTL> { [ Control_R, ISO_Next_Group ] };
};
+// using the group(lctrl_lshift_toggle) map, pressing:
+// Control_L+Shift_L locks the next group
+// If you have two groups and group wrap is enabled, the effect is
+// indistinguishable.
+partial modifier_keys
+xkb_symbols "lctrl_lshift_toggle" {
+ key <LFSH> {
+ type[Group1]="PC_BREAK",
+ symbols[Group1]= [ Shift_L, ISO_Next_Group ]
+ };
+ key <LCTL> { [ Control_L, ISO_Next_Group ] };
+};
+
// using the group(caps_toggle) map, pressing:
// Caps Lock toggles groups
// Shift+Caps Lock toggles caps lock
Index: rules/base.o_s.part
===================================================================
--- rules/base.o_s.part.orig
+++ rules/base.o_s.part
@@ -16,6 +16,7 @@
grp:ctrls_toggle = +group(ctrls_toggle)
grp:alts_toggle = +group(alts_toggle)
grp:ctrl_shift_toggle = +group(ctrl_shift_toggle)
+ grp:lctrl_lshift_toggle = +group(lctrl_lshift_toggle)
grp:caps_toggle = +group(caps_toggle)
grp:shift_caps_toggle = +group(shift_caps_toggle)
grp:alt_caps_toggle = +group(alt_caps_toggle)