xkbdesc/types extra,1.4,1.5

Sergey V. Oudaltsov xlibs-commit at pdx.freedesktop.org
Sun Sep 24 13:08:43 PDT 2006


Committed by: svu

Update of /cvs/xlibs/xkbdesc/types
In directory kemper:/tmp/cvs-serv26832/types

Modified Files:
	extra 
Log Message:
new French layouts, b.fd.o#8240

Index: extra
===================================================================
RCS file: /cvs/xlibs/xkbdesc/types/extra,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- extra	17 Sep 2006 20:26:16 -0000	1.4
+++ extra	24 Sep 2006 20:08:41 -0000	1.5
@@ -51,6 +51,40 @@
 	level_name[Level4] = "Shift Alt";
     };
 
+    // Another four level keypad variant
+    // First two levels are controled by NumLock (with active Shift-ing like
+    // in KEYPAD). LevelThree overrides this mode, with two additional
+    // Shift-ed levels
+    // NumLock state is intentionnaly ignored when LevelThree is active
+    type "FOUR_LEVEL_MIXED_KEYPAD" {
+        modifiers = Shift+NumLock+LevelThree;
+        map[None] = Level1;
+        map[Shift+NumLock] = Level1;
+        map[NumLock] = Level2;
+        map[Shift] = Level2;
+        map[LevelThree] = Level3;
+	map[NumLock+LevelThree] = Level3;
+        map[Shift+LevelThree] = Level4;
+	map[Shift+NumLock+LevelThree] = Level4;
+        level_name[Level1] = "Base";
+        level_name[Level2] = "Number";
+        level_name[Level3] = "Alt Base";
+        level_name[Level4] = "Shift Alt";
+    };
+
+    // Base level, two Shift-ed LevelThree levels, one Ctrl+Alt command level
+    type "FOUR_LEVEL_X" {
+        modifiers = Shift+LevelThree+Control+Alt;
+        map[None] = Level1;
+        map[LevelThree] = Level2;
+	map[Shift+LevelThree] = Level3;
+	map[Control+Alt] = Level4;
+        level_name[Level1] = "Base";
+        level_name[Level2] = "Alt Base";
+        level_name[Level3] = "Shift Alt";
+	level_name[Level4] = "Ctrl+Alt";
+    };
+
 // Special type for keys used in Serbian Latin Unicode map
 // It makes it possible to use all three forms of latin letters 
 // present in Unicode that are made up of two separate letters 



More information about the xlibs-commit mailing list