aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/symbols/group
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-01-31 14:39:32 +0000
committermarha <marha@users.sourceforge.net>2010-01-31 14:39:32 +0000
commitfe6927d79e02d01cce20ecf56c8721fcadc2d278 (patch)
tree7c8ae5a40c3e2cd7825097c06c87f01ab85a24f0 /xorg-server/xkbdata.src/symbols/group
parentc035ec13d812ca609dd31590b86952f14394b5ec (diff)
downloadvcxsrv-fe6927d79e02d01cce20ecf56c8721fcadc2d278.tar.gz
vcxsrv-fe6927d79e02d01cce20ecf56c8721fcadc2d278.tar.bz2
vcxsrv-fe6927d79e02d01cce20ecf56c8721fcadc2d278.zip
svn merge ^/branches/released
Diffstat (limited to 'xorg-server/xkbdata.src/symbols/group')
-rw-r--r--xorg-server/xkbdata.src/symbols/group29
1 files changed, 29 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/symbols/group b/xorg-server/xkbdata.src/symbols/group
index 1b23e31c2..f39b05159 100644
--- a/xorg-server/xkbdata.src/symbols/group
+++ b/xorg-server/xkbdata.src/symbols/group
@@ -120,6 +120,19 @@ xkb_symbols "lctrl_lshift_toggle" {
key <LCTL> { [ Control_L, ISO_Next_Group ] };
};
+// using the group(rctrl_rshift_toggle) map, pressing:
+// Control_R+Shift_R locks the next group
+// If you have two groups and group wrap is enabled, the effect is
+// indistinguishable.
+partial modifier_keys
+xkb_symbols "rctrl_rshift_toggle" {
+ key <RTSH> {
+ type[Group1]="PC_CONTROL_LEVEL2",
+ symbols[Group1]= [ Shift_R, ISO_Next_Group ]
+ };
+ key <RCTL> { [ Control_R, ISO_Next_Group ] };
+};
+
// using the group(shift_caps_toggle) map, pressing:
// Shift+Caps Lock toggles group
partial modifier_keys
@@ -155,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