aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkeyboard-config/compat/basic
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/basic
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/basic')
-rw-r--r--xorg-server/xkeyboard-config/compat/basic52
1 files changed, 52 insertions, 0 deletions
diff --git a/xorg-server/xkeyboard-config/compat/basic b/xorg-server/xkeyboard-config/compat/basic
new file mode 100644
index 000000000..8f99c7b73
--- /dev/null
+++ b/xorg-server/xkeyboard-config/compat/basic
@@ -0,0 +1,52 @@
+// $Xorg: basic,v 1.3 2000/08/17 19:54:34 cpqbld Exp $
+
+// Minimal set of symbol interpretations to provide
+// reasonable default behavior (Num lock, shift and
+// caps lock and mode switch) and set up the
+// automatic updating of common keyboard LEDs.
+
+// $XFree86: xc/programs/xkbcomp/compat/basic,v 1.2 2000/11/06 19:24:10 dawes Exp $
+
+default xkb_compatibility "basic" {
+ virtual_modifiers NumLock,AltGr;
+
+ interpret.repeat= False;
+ setMods.clearLocks= True;
+ latchMods.clearLocks= True;
+ latchMods.latchToLock= True;
+
+ interpret Shift_Lock+AnyOf(Shift+Lock) {
+ action= LockMods(modifiers=Shift);
+ };
+
+ interpret Any+Lock {
+ action= LockMods(modifiers=Lock);
+ };
+
+ interpret Num_Lock+Any {
+ virtualModifier= NumLock;
+ action= LockMods(modifiers=NumLock);
+ };
+
+ interpret Mode_switch {
+ useModMapMods= level1;
+ virtualModifier= AltGr;
+ action= SetGroup(group=+1);
+ };
+
+ interpret Any + Any {
+ action= SetMods(modifiers=modMapMods);
+ };
+
+ group 2 = AltGr;
+ group 3 = AltGr;
+ group 4 = AltGr;
+
+ include "ledcaps"
+ include "lednum"
+ indicator "Shift Lock" {
+ !allowExplicit;
+ whichModState= Locked;
+ modifiers= Shift;
+ };
+};