+2008-04-07 Sergey Udaltsov
+
+ * symbols/group, rules/base.xml.in, rules/base.o_s.part: added
+ group(shift_caps_switch)
+ http://bugs.freedesktop.org/show_bug.cgi?id=15383
+
2008-04-01 Sergey Udaltsov
* rules/base.xml.in, symbols/gb: added gb(colemak),
grp:lctrl_lshift_toggle = +group(lctrl_lshift_toggle)
grp:caps_toggle = +group(caps_toggle)
grp:shift_caps_toggle = +group(shift_caps_toggle)
+ grp:shift_caps_switch = +group(shift_caps_switch)
grp:alt_caps_toggle = +group(alt_caps_toggle)
grp:ctrl_alt_toggle = +group(ctrl_alt_toggle)
grp:alt_shift_toggle = +group(alt_shift_toggle)
</option>
<option>
<configItem>
+ <name>grp:shift_caps_switch</name>
+ <_description>CapsLock switch to first layout, Shift+CapsLock switch to last layout.</_description>
+ </configItem>
+ </option>
+ <option>
+ <configItem>
<name>grp:alt_caps_toggle</name>
<_description>Alt+CapsLock changes layout.</_description>
</configItem>
key <CAPS> { [ Caps_Lock, ISO_Next_Group ] };
};
+// using the group(shift_caps_switch) map, pressing:
+// Caps Lock selects the first group
+// Shift+Caps Lock selects the last group
+partial modifier_keys
+xkb_symbols "shift_caps_switch" {
+ key <CAPS> { [ ISO_First_Group, 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