summaryrefslogtreecommitdiff
path: root/compat/basic
diff options
context:
space:
mode:
authorsvu <svu>2004-04-10 02:08:51 +0000
committersvu <svu>2004-04-10 02:08:51 +0000
commit9bbda6bfbcc29a575ea3b5cb7bd2553767e80d53 (patch)
tree8bc7094a3bc1cd14e8c652d0f4669f3371f80407 /compat/basic
parentcfecfecb04a7c73bdd79e659b1d4f1192593ce8c (diff)
downloadxkeyboard-config-9bbda6bfbcc29a575ea3b5cb7bd2553767e80d53.tar.gz
xkeyboard-config-9bbda6bfbcc29a575ea3b5cb7bd2553767e80d53.tar.bz2
xkeyboard-config-9bbda6bfbcc29a575ea3b5cb7bd2553767e80d53.zip
first feed-in of the layouts. The revolution is coming
Diffstat (limited to 'compat/basic')
-rw-r--r--compat/basic59
1 files changed, 59 insertions, 0 deletions
diff --git a/compat/basic b/compat/basic
new file mode 100644
index 00000000..f369b0be
--- /dev/null
+++ b/compat/basic
@@ -0,0 +1,59 @@
+// $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;
+
+ indicator.allowExplicit= False;
+ indicator "Caps Lock" {
+ whichModState= Locked;
+ modifiers= Lock;
+ };
+ indicator "Num Lock" {
+ whichModState= Locked;
+ modifiers= NumLock;
+ };
+ indicator "Shift Lock" {
+ whichModState= Locked;
+ modifiers= Shift;
+ };
+ indicator.allowExplicit= True;
+};