aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/compat/ledcaps
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-07-13 07:35:01 +0000
committermarha <marha@users.sourceforge.net>2010-07-13 07:35:01 +0000
commit81124070f120ab658e094b64f6944d701b003a99 (patch)
tree735e49473d8c4545e39cf98981e3dcdfd70760f9 /xorg-server/xkeyboard-config/compat/ledcaps
parentf2388fcb82e72ee921139e9a4c8f9223e4ae04cd (diff)
downloadvcxsrv-81124070f120ab658e094b64f6944d701b003a99.tar.gz
vcxsrv-81124070f120ab658e094b64f6944d701b003a99.tar.bz2
vcxsrv-81124070f120ab658e094b64f6944d701b003a99.zip
Renamed xkbdata.src to xkeyboard-config (to reflect the name in the git repository)
Diffstat (limited to 'xorg-server/xkeyboard-config/compat/ledcaps')
-rw-r--r--xorg-server/xkeyboard-config/compat/ledcaps23
1 files changed, 23 insertions, 0 deletions
diff --git a/xorg-server/xkeyboard-config/compat/ledcaps b/xorg-server/xkeyboard-config/compat/ledcaps
new file mode 100644
index 000000000..fc3084eec
--- /dev/null
+++ b/xorg-server/xkeyboard-config/compat/ledcaps
@@ -0,0 +1,23 @@
+// Use Caps Lock LED to show either Caps Lock, Group, or Shift Lock state
+
+default partial xkb_compatibility "caps_lock" {
+ indicator "Caps Lock" {
+ !allowExplicit;
+ whichModState= Locked;
+ modifiers= Lock;
+ };
+};
+
+partial xkb_compatibility "group_lock" {
+ indicator "Caps Lock" {
+ modifiers= None;
+ groups=All-group1;
+ };
+};
+
+partial xkb_compatibility "shift_lock" {
+ indicator "Caps Lock" {
+ whichModState= Locked;
+ modifiers= Shift;
+ };
+};