2014-10-16 08:48:00 -06:00
|
|
|
default hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "capslock" {
|
2014-10-16 08:48:00 -06:00
|
|
|
replace key <CAPS> { [ Caps_Lock ] };
|
2012-07-12 07:42:31 -06:00
|
|
|
modifier_map Lock { Caps_Lock };
|
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "shiftlock" {
|
2014-10-16 08:48:00 -06:00
|
|
|
replace key <CAPS> { [ Shift_Lock ] };
|
2012-07-12 07:42:31 -06:00
|
|
|
modifier_map Shift { Shift_Lock };
|
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "grouplock" {
|
2014-10-16 08:48:00 -06:00
|
|
|
replace key <CAPS> { [ ISO_Next_Group, Caps_Lock ] };
|
2012-07-12 07:42:31 -06:00
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "groupshift" {
|
|
|
|
key <CAPS> {
|
2014-10-16 08:48:00 -06:00
|
|
|
type[Group1] = "PC_ALT_LEVEL2",
|
|
|
|
[ Mode_switch, Caps_Lock ]
|
2012-07-12 07:42:31 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2017-12-03 04:04:35 -07:00
|
|
|
hidden partial modifier_keys
|
|
|
|
xkb_symbols "swapescape" {
|
|
|
|
key <CAPS> { [ Escape ] };
|
|
|
|
key <ESC> { [ Caps_Lock ] };
|
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "escape" {
|
2014-10-16 08:48:00 -06:00
|
|
|
key <CAPS> { [ Escape ] };
|
2012-07-12 07:42:31 -06:00
|
|
|
};
|
|
|
|
|
2020-09-07 02:35:22 -06:00
|
|
|
hidden partial modifier_keys
|
|
|
|
xkb_symbols "escape_shifted_capslock" {
|
|
|
|
key <CAPS> {
|
|
|
|
type[Group1] = "TWO_LEVEL",
|
|
|
|
symbols[Group1] = [ Escape, Caps_Lock ],
|
|
|
|
actions[Group1] = [ NoAction(), LockMods(modifiers = Lock) ]
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "backspace" {
|
2014-10-16 08:48:00 -06:00
|
|
|
key <CAPS> { [ BackSpace ] };
|
2012-07-12 07:42:31 -06:00
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "super" {
|
2014-10-16 08:48:00 -06:00
|
|
|
key <CAPS> { [ Super_L ] };
|
|
|
|
modifier_map Mod4 { <CAPS> };
|
2012-07-12 07:42:31 -06:00
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "hyper" {
|
2014-10-16 08:48:00 -06:00
|
|
|
key <CAPS> { [ Hyper_L ] };
|
|
|
|
modifier_map Mod4 { <CAPS> };
|
2012-07-12 07:42:31 -06:00
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
hidden partial modifier_keys
|
2017-12-03 04:04:35 -07:00
|
|
|
xkb_symbols "menu" {
|
|
|
|
key <CAPS> { [ Menu ] };
|
2012-07-12 07:42:31 -06:00
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "numlock" {
|
2014-10-16 08:48:00 -06:00
|
|
|
key <CAPS> { [ Num_Lock ] };
|
2012-07-12 07:42:31 -06:00
|
|
|
};
|
|
|
|
|
2014-10-16 08:48:00 -06:00
|
|
|
// This changes the <CAPS> key to become a Control modifier,
|
|
|
|
// but it will still produce the Caps_Lock keysym.
|
|
|
|
hidden partial modifier_keys
|
2012-07-12 07:42:31 -06:00
|
|
|
xkb_symbols "ctrl_modifier" {
|
|
|
|
replace key <CAPS> {
|
|
|
|
type[Group1] = "ONE_LEVEL",
|
|
|
|
symbols[Group1] = [ Caps_Lock ],
|
2014-10-16 08:48:00 -06:00
|
|
|
actions[Group1] = [ SetMods(modifiers=Control) ]
|
2012-07-12 07:42:31 -06:00
|
|
|
};
|
|
|
|
modifier_map Control { <CAPS> };
|
|
|
|
};
|
2017-12-03 04:04:35 -07:00
|
|
|
|
|
|
|
hidden partial modifier_keys
|
|
|
|
xkb_symbols "none" {
|
|
|
|
key <CAPS> { [ VoidSymbol ] };
|
|
|
|
};
|