summaryrefslogtreecommitdiff
path: root/data/xkbdata/compat/basic
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 16:31:12 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2006-11-25 16:31:12 +0000
commit7785d1bb969b8e1cdede9f0a4b147c0d4b2646ad (patch)
tree32fae9f123d37c9d0c18493c3e17a758923d0aed /data/xkbdata/compat/basic
parent3136abb1493f1c37eb403455252e01c6c59f6281 (diff)
import from X.Org 7.0
Diffstat (limited to 'data/xkbdata/compat/basic')
-rw-r--r--data/xkbdata/compat/basic52
1 files changed, 52 insertions, 0 deletions
diff --git a/data/xkbdata/compat/basic b/data/xkbdata/compat/basic
new file mode 100644
index 000000000..8f99c7b73
--- /dev/null
+++ b/data/xkbdata/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;
+ };
+};