aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/symbols/capslock
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkbdata.src/symbols/capslock')
-rw-r--r--xorg-server/xkbdata.src/symbols/capslock33
1 files changed, 33 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/symbols/capslock b/xorg-server/xkbdata.src/symbols/capslock
new file mode 100644
index 000000000..735e148cb
--- /dev/null
+++ b/xorg-server/xkbdata.src/symbols/capslock
@@ -0,0 +1,33 @@
+// $XKeyboardConfig$
+
+default partial hidden modifier_keys
+xkb_symbols "capslock" {
+ key <CAPS> { [ Caps_Lock ] };
+ modifier_map Lock { Caps_Lock };
+};
+
+partial hidden modifier_keys
+xkb_symbols "shiftlock" {
+ key <CAPS> { [ Shift_Lock ] };
+ modifier_map Shift { Shift_Lock };
+};
+
+partial hidden modifier_keys
+xkb_symbols "grouplock" {
+ key <CAPS> { [ ISO_Next_Group, Caps_Lock ] };
+};
+
+partial hidden modifier_keys
+xkb_symbols "swapescape" {
+ key <CAPS> { [ Escape ] };
+ key <ESC> { [ Caps_Lock ] };
+};
+
+partial hidden modifier_keys
+xkb_symbols "groupshift" {
+ key <CAPS> {
+ type[Group1]="PC_ALT_LEVEL2",
+ [ Mode_switch, Caps_Lock ]
+ };
+};
+