2014-12-28 09:41:04 -07:00
|
|
|
default hidden partial modifier_keys
|
2009-06-06 11:52:23 -06:00
|
|
|
xkb_symbols "capslock" {
|
2013-10-26 11:49:57 -06:00
|
|
|
replace key <CAPS> { [ Caps_Lock ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
modifier_map Lock { Caps_Lock };
|
|
|
|
};
|
|
|
|
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial modifier_keys
|
2009-06-06 11:52:23 -06:00
|
|
|
xkb_symbols "shiftlock" {
|
2013-10-26 11:49:57 -06:00
|
|
|
replace key <CAPS> { [ Shift_Lock ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
modifier_map Shift { Shift_Lock };
|
|
|
|
};
|
|
|
|
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial modifier_keys
|
2009-06-06 11:52:23 -06:00
|
|
|
xkb_symbols "grouplock" {
|
2013-10-26 11:49:57 -06:00
|
|
|
replace key <CAPS> { [ ISO_Next_Group, Caps_Lock ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
};
|
|
|
|
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial modifier_keys
|
2009-06-06 11:52:23 -06:00
|
|
|
xkb_symbols "groupshift" {
|
|
|
|
key <CAPS> {
|
2013-10-26 11:49:57 -06:00
|
|
|
type[Group1] = "PC_ALT_LEVEL2",
|
|
|
|
[ Mode_switch, Caps_Lock ]
|
2009-06-06 11:52:23 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-06-28 10:49:22 -06:00
|
|
|
hidden partial modifier_keys
|
|
|
|
xkb_symbols "swapescape" {
|
|
|
|
key <CAPS> { [ Escape ] };
|
|
|
|
key <ESC> { [ Caps_Lock ] };
|
|
|
|
};
|
|
|
|
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial modifier_keys
|
2009-06-06 11:52:23 -06:00
|
|
|
xkb_symbols "escape" {
|
2013-10-26 11:49:57 -06:00
|
|
|
key <CAPS> { [ Escape ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
};
|
|
|
|
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial modifier_keys
|
2009-06-06 11:52:23 -06:00
|
|
|
xkb_symbols "backspace" {
|
2013-10-26 11:49:57 -06:00
|
|
|
key <CAPS> { [ BackSpace ] };
|
2009-06-06 11:52:23 -06:00
|
|
|
};
|
|
|
|
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial modifier_keys
|
2011-01-10 07:25:56 -07:00
|
|
|
xkb_symbols "super" {
|
2013-10-26 11:49:57 -06:00
|
|
|
key <CAPS> { [ Super_L ] };
|
|
|
|
modifier_map Mod4 { <CAPS> };
|
2011-01-10 07:25:56 -07:00
|
|
|
};
|
|
|
|
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial modifier_keys
|
2011-01-10 07:25:56 -07:00
|
|
|
xkb_symbols "hyper" {
|
2013-10-26 11:49:57 -06:00
|
|
|
key <CAPS> { [ Hyper_L ] };
|
|
|
|
modifier_map Mod4 { <CAPS> };
|
2011-01-10 07:25:56 -07:00
|
|
|
};
|
|
|
|
|
2016-02-06 10:50:06 -07:00
|
|
|
hidden partial modifier_keys
|
|
|
|
xkb_symbols "menu" {
|
|
|
|
key <CAPS> { [ Menu ] };
|
|
|
|
};
|
|
|
|
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial modifier_keys
|
2011-01-10 07:25:56 -07:00
|
|
|
xkb_symbols "numlock" {
|
2013-10-26 11:49:57 -06:00
|
|
|
key <CAPS> { [ Num_Lock ] };
|
2011-01-10 07:25:56 -07:00
|
|
|
};
|
|
|
|
|
2013-10-26 11:49:57 -06:00
|
|
|
// This changes the <CAPS> key to become a Control modifier,
|
|
|
|
// but it will still produce the Caps_Lock keysym.
|
2014-12-28 09:41:04 -07:00
|
|
|
hidden partial modifier_keys
|
2011-04-10 11:08:49 -06:00
|
|
|
xkb_symbols "ctrl_modifier" {
|
|
|
|
replace key <CAPS> {
|
|
|
|
type[Group1] = "ONE_LEVEL",
|
|
|
|
symbols[Group1] = [ Caps_Lock ],
|
2014-05-05 12:05:33 -06:00
|
|
|
actions[Group1] = [ SetMods(modifiers=Control) ]
|
2011-04-10 11:08:49 -06:00
|
|
|
};
|
|
|
|
modifier_map Control { <CAPS> };
|
|
|
|
};
|
2016-06-28 10:49:22 -06:00
|
|
|
|
|
|
|
hidden partial modifier_keys
|
|
|
|
xkb_symbols "none" {
|
|
|
|
key <CAPS> { [ VoidSymbol ] };
|
|
|
|
};
|