summaryrefslogtreecommitdiffstats
path: root/linux/X/shift
diff options
context:
space:
mode:
authorerik <erik@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-15 05:58:31 +0000
committererik <erik@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-15 05:58:31 +0000
commit00a3aae9f6acac4c0709e1ea30d49313828a138e (patch)
tree5146e1843b18d0d90f2a434836eb3a6396fce551 /linux/X/shift
parent7c9f9c6b7c318e30deaa581616f64f92df1dc76a (diff)
änderungen aus [ticket:135#comment:22] hinzugefügt
git-svn-id: https://svn.neo-layout.org@1854 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to '')
-rw-r--r--linux/X/shift23
1 files changed, 23 insertions, 0 deletions
diff --git a/linux/X/shift b/linux/X/shift
index eb7533f..1edf13a 100644
--- a/linux/X/shift
+++ b/linux/X/shift
@@ -17,3 +17,26 @@ xkb_symbols "breaks_caps" {
]
};
};
+
+partial modifier_keys
+xkb_symbols "lshift_both_capslock" {
+ key <LFSH> {
+ type[Group1]="TWO_LEVEL",
+ symbols[Group1] = [ Shift_L, Caps_Lock ],
+ actions[Group1] = [ SetMods(modifiers=Shift), LockMods(modifiers=Lock) ]
+ };
+};
+
+partial modifier_keys
+xkb_symbols "rshift_both_capslock" {
+ key <RTSH> {
+ type[Group1]="TWO_LEVEL",
+ symbols[Group1] = [ Shift_R, Caps_Lock ],
+ actions[Group1] = [ SetMods(modifiers=Shift), LockMods(modifiers=Lock) ]
+ };
+};
+partial modifier_keys
+xkb_symbols "both_capslock" {
+ include "shift(lshift_both_capslock)"
+ include "shift(rshift_both_capslock)"
+};