summaryrefslogtreecommitdiff
path: root/symbols/group
diff options
context:
space:
mode:
authorSergey V. Udaltsov <svu@gnome.org>2009-12-21 22:21:05 +0000
committerSergey V. Udaltsov <svu@gnome.org>2009-12-21 22:21:05 +0000
commitabf8008f1625580a77fef15ae7f56c146b724321 (patch)
tree1f4a87660a0117c09311e32a38a28b99bffe52d0 /symbols/group
parent36846bee366918915490340d71072c621af03006 (diff)
downloadxkeyboard-config-abf8008f1625580a77fef15ae7f56c146b724321.tar.gz
added grp(lctrl_rctrl_switch) xkb option
https://bugs.freedesktop.org/show_bug.cgi?id=25727
Diffstat (limited to 'symbols/group')
-rw-r--r--symbols/group16
1 files changed, 16 insertions, 0 deletions
diff --git a/symbols/group b/symbols/group
index 08b31a1..f39b051 100644
--- a/symbols/group
+++ b/symbols/group
@@ -168,6 +168,22 @@ xkb_symbols "win_menu_switch" {
};
};
+// using the group(lctrl_rctrl_switch) map, pressing:
+// Left Control selects the first group
+// Right Control selects the last group
+partial modifier_keys
+xkb_symbols "lctrl_rctrl_switch" {
+ virtual_modifiers AltGr;
+ key <LCTL> {
+ virtualMods= AltGr,
+ symbols[Group1] = [ ISO_First_Group ]
+ };
+ key <RCTL> {
+ virtualMods= AltGr,
+ symbols[Group1] = [ ISO_Last_Group ]
+ };
+};
+
// using the group(ctrl_alt_toggle) map, pressing:
// Control_L+Alt_L locks the previous group
// Control_R+Alt_R locks the next group