xenocara/dist/xkeyboard-config/symbols/capslock

80 lines
1.7 KiB
Plaintext
Raw Normal View History

default hidden partial modifier_keys
2009-06-06 11:52:23 -06:00
xkb_symbols "capslock" {
replace key <CAPS> { [ Caps_Lock ] };
2009-06-06 11:52:23 -06:00
modifier_map Lock { Caps_Lock };
};
hidden partial modifier_keys
2009-06-06 11:52:23 -06:00
xkb_symbols "shiftlock" {
replace key <CAPS> { [ Shift_Lock ] };
2009-06-06 11:52:23 -06:00
modifier_map Shift { Shift_Lock };
};
hidden partial modifier_keys
2009-06-06 11:52:23 -06:00
xkb_symbols "grouplock" {
replace key <CAPS> { [ ISO_Next_Group, Caps_Lock ] };
2009-06-06 11:52:23 -06:00
};
hidden partial modifier_keys
2009-06-06 11:52:23 -06:00
xkb_symbols "groupshift" {
key <CAPS> {
type[Group1] = "PC_ALT_LEVEL2",
[ Mode_switch, Caps_Lock ]
2009-06-06 11:52:23 -06:00
};
};
hidden partial modifier_keys
xkb_symbols "swapescape" {
key <CAPS> { [ Escape ] };
key <ESC> { [ Caps_Lock ] };
};
hidden partial modifier_keys
2009-06-06 11:52:23 -06:00
xkb_symbols "escape" {
key <CAPS> { [ Escape ] };
2009-06-06 11:52:23 -06:00
};
hidden partial modifier_keys
2009-06-06 11:52:23 -06:00
xkb_symbols "backspace" {
key <CAPS> { [ BackSpace ] };
2009-06-06 11:52:23 -06:00
};
hidden partial modifier_keys
xkb_symbols "super" {
key <CAPS> { [ Super_L ] };
modifier_map Mod4 { <CAPS> };
};
hidden partial modifier_keys
xkb_symbols "hyper" {
key <CAPS> { [ Hyper_L ] };
modifier_map Mod4 { <CAPS> };
};
hidden partial modifier_keys
xkb_symbols "menu" {
key <CAPS> { [ Menu ] };
};
hidden partial modifier_keys
xkb_symbols "numlock" {
key <CAPS> { [ Num_Lock ] };
};
// This changes the <CAPS> key to become a Control modifier,
// but it will still produce the Caps_Lock keysym.
hidden partial modifier_keys
xkb_symbols "ctrl_modifier" {
replace key <CAPS> {
type[Group1] = "ONE_LEVEL",
symbols[Group1] = [ Caps_Lock ],
actions[Group1] = [ SetMods(modifiers=Control) ]
};
modifier_map Control { <CAPS> };
};
hidden partial modifier_keys
xkb_symbols "none" {
key <CAPS> { [ VoidSymbol ] };
};