aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/symbols/shift
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-05-04 12:33:39 +0000
committermarha <marha@users.sourceforge.net>2010-05-04 12:33:39 +0000
commit4fbca19eeab8fecdb6b130badf8c7745a1d6d2dc (patch)
tree5a2d64e84cfa6fbbc40b67487be9554b09c45fca /xorg-server/xkbdata.src/symbols/shift
parent650d418382eae64ce37765c1fbe2693a6c255ddc (diff)
downloadvcxsrv-4fbca19eeab8fecdb6b130badf8c7745a1d6d2dc.tar.gz
vcxsrv-4fbca19eeab8fecdb6b130badf8c7745a1d6d2dc.tar.bz2
vcxsrv-4fbca19eeab8fecdb6b130badf8c7745a1d6d2dc.zip
xkeyboard-config git update 4/5/2010
Diffstat (limited to 'xorg-server/xkbdata.src/symbols/shift')
-rw-r--r--xorg-server/xkbdata.src/symbols/shift22
1 files changed, 22 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/symbols/shift b/xorg-server/xkbdata.src/symbols/shift
index eb7533f79..4bd1cd627 100644
--- a/xorg-server/xkbdata.src/symbols/shift
+++ b/xorg-server/xkbdata.src/symbols/shift
@@ -17,3 +17,25 @@ xkb_symbols "breaks_caps" {
]
};
};
+
+// When pressed together with another Shift key, set/release Lock.
+partial modifier_keys
+xkb_symbols "lshift_both_capslock" {
+ key <LFSH> {
+ type[Group1]="TWO_LEVEL",
+ symbols[Group1] = [ Shift_L, Caps_Lock ]
+ };
+};
+// When pressed together with another Shift key, set or unset Lock.
+partial modifier_keys
+xkb_symbols "rshift_both_capslock" {
+ key <RTSH> {
+ type[Group1]="TWO_LEVEL",
+ symbols[Group1] = [ Shift_R, Caps_Lock ]
+ };
+};
+partial modifier_keys
+xkb_symbols "both_capslock" {
+ include "shift(lshift_both_capslock)"
+ include "shift(rshift_both_capslock)"
+};