From fe6927d79e02d01cce20ecf56c8721fcadc2d278 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 31 Jan 2010 14:39:32 +0000 Subject: svn merge ^/branches/released --- xorg-server/xkbdata.src/symbols/group | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'xorg-server/xkbdata.src/symbols/group') 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 { [ 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 { + type[Group1]="PC_CONTROL_LEVEL2", + symbols[Group1]= [ Shift_R, ISO_Next_Group ] + }; + key { [ 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 { + virtualMods= AltGr, + symbols[Group1] = [ ISO_First_Group ] + }; + key { + 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 -- cgit v1.2.3