summaryrefslogtreecommitdiff
path: root/linux/X/level5
diff options
context:
space:
mode:
authorerik <erik@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-10 09:45:37 +0000
committererik <erik@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-10 09:45:37 +0000
commitf540a2d76f68bb1567b04432fb4de38118a3ba5d (patch)
treeaab18dc59a5ec574b46b5e325178289db3935f62 /linux/X/level5
parent413e9a3e17b768a674d4e19f266572f2066ed0a7 (diff)
downloadneo-layout-f540a2d76f68bb1567b04432fb4de38118a3ba5d.tar.gz
neo-layout-f540a2d76f68bb1567b04432fb4de38118a3ba5d.tar.bz2
neo-layout-f540a2d76f68bb1567b04432fb4de38118a3ba5d.zip
test-Version ist angesichts der wenigen Zeit bis zum xkeyboard-config-freeze (http://wiki.neo-layout.org/roadmap) nicht mehr sinnvoll. alle fehler dort sollten so schnell wie möglich von vielen getestet und behoben werden.
git-svn-id: https://svn.neo-layout.org@1827 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/X/level5')
-rw-r--r--linux/X/level5174
1 files changed, 174 insertions, 0 deletions
diff --git a/linux/X/level5 b/linux/X/level5
new file mode 100644
index 0000000..9a6b22a
--- /dev/null
+++ b/linux/X/level5
@@ -0,0 +1,174 @@
+// $XKeyboardConfig$
+// $XFree86: xc/programs/xkbcomp/types/extra,v 1.3 2002/11/26 02:14:02 dawes Exp $
+
+partial default xkb_types "default" {
+ // Definition for a key type used for the czech keymap, for instance.
+ // Defines style a with four level shift. It is similar to three_level
+ // type used for iso9995 but it lets the shift key behave "normally".
+
+ virtual_modifiers LevelThree,ScrollLock,LevelFive;
+
+ type "EIGHT_LEVEL" {
+ modifiers = Shift+LevelThree+LevelFive;
+ map[None] = Level1;
+ map[Shift] = Level2;
+ map[LevelThree] = Level3;
+ map[Shift+LevelThree] = Level4;
+ map[LevelFive] = Level5;
+ map[Shift+LevelFive] = Level6;
+ map[LevelThree+LevelFive] = Level7;
+ map[Shift+LevelThree+LevelFive] = Level8;
+ level_name[Level1] = "Base";
+ level_name[Level2] = "Shift";
+ level_name[Level3] = "Alt Base";
+ level_name[Level4] = "Shift Alt";
+ level_name[Level5] = "X";
+ level_name[Level6] = "X Shift";
+ level_name[Level7] = "X Alt Base";
+ level_name[Level8] = "X Shift Alt";
+ };
+
+ type "EIGHT_LEVEL_ALPHABETIC" {
+ modifiers = Shift+Lock+LevelThree+LevelFive;
+ map[None] = Level1;
+ map[Shift] = Level2;
+ map[Lock] = Level2;
+ map[LevelThree] = Level3;
+ map[Shift+LevelThree] = Level4;
+ map[Lock+LevelThree] = Level4;
+ map[Lock+Shift+LevelThree] = Level3;
+
+ map[LevelFive] = Level5;
+ map[Shift+LevelFive] = Level6;
+ map[Lock+LevelFive] = Level6;
+ map[LevelThree+LevelFive] = Level7;
+ map[Shift+LevelThree+LevelFive] = Level8;
+ map[Lock+LevelThree+LevelFive] = Level8;
+ map[Lock+Shift+LevelThree+LevelFive] = Level7;
+
+ level_name[Level1] = "Base";
+ level_name[Level2] = "Shift";
+ level_name[Level3] = "Alt Base";
+ level_name[Level4] = "Shift Alt";
+ level_name[Level5] = "X";
+ level_name[Level6] = "X Shift";
+ level_name[Level7] = "X Alt Base";
+ level_name[Level8] = "X Shift Alt";
+ };
+
+ type "EIGHT_LEVEL_NEO_LOCKS" {
+ // 'NumLock' is used for the (Neo-)Mod4-Lock.
+ modifiers = Shift + LevelThree + NumLock + LevelFive;
+
+ map[None] = Level1;
+ map[Shift] = Level2;
+ map[LevelThree] = Level3;
+ map[LevelThree+Shift] = Level4;
+ map[NumLock] = Level3;
+ map[NumLock+Shift] = Level4;
+ map[NumLock+LevelThree] = Level1;
+ map[NumLock+LevelThree+Shift] = Level2;
+ map[LevelFive] = Level5;
+ map[LevelFive+Shift] = Level6;
+ map[LevelFive+LevelThree] = Level7;
+ map[LevelFive+LevelThree+Shift] = Level8;
+ map[LevelFive+NumLock] = Level7;
+ map[LevelFive+NumLock+Shift] = Level8;
+ map[LevelFive+NumLock+LevelThree] = Level5;
+ map[LevelFive+NumLock+LevelThree+Shift] = Level6;
+
+ level_name[Level1] = "Neo Level1";
+ level_name[Level2] = "Neo Level2";
+ level_name[Level3] = "Neo Level4";
+ level_name[Level4] = "Neo Level4 Shift";
+ level_name[Level5] = "Neo Level3";
+ level_name[Level6] = "Neo Level5";
+ level_name[Level7] = "Neo Level6";
+ level_name[Level8] = "Neo Level6 Shift";
+ };
+
+ type "EIGHT_LEVEL_NEO_LOCKS_QUATERALPHABETIC" {
+ // 'NumLock' is used for the (Neo-)Mod4-Lock.
+ modifiers = Shift + Lock + LevelThree + NumLock + LevelFive;
+
+ map[None] = Level1;
+ map[Shift] = Level2;
+ map[LevelThree] = Level3;
+ map[LevelThree+Shift] = Level4;
+ map[NumLock] = Level3;
+ map[NumLock+Shift] = Level4;
+ map[NumLock+LevelThree] = Level1;
+ map[NumLock+LevelThree+Shift] = Level2;
+ map[LevelFive] = Level5;
+ map[LevelFive+Shift] = Level6;
+ map[LevelFive+LevelThree] = Level7;
+ map[LevelFive+LevelThree+Shift] = Level8;
+ map[LevelFive+NumLock] = Level7;
+ map[LevelFive+NumLock+Shift] = Level8;
+ map[LevelFive+NumLock+LevelThree] = Level5;
+ map[LevelFive+NumLock+LevelThree+Shift] = Level6;
+ // Lock interchanges Level1 and Level2
+ map[Lock] = Level2;
+ map[Lock+Shift] = Level1;
+ map[Lock+LevelThree] = Level3;
+ map[Lock+LevelThree+Shift] = Level4;
+ map[Lock+NumLock] = Level3;
+ map[Lock+NumLock+Shift] = Level4;
+ map[Lock+NumLock+LevelThree] = Level2;
+ map[Lock+NumLock+LevelThree+Shift] = Level1;
+ map[Lock+LevelFive] = Level5;
+ map[Lock+LevelFive+Shift] = Level6;
+ map[Lock+LevelFive+LevelThree] = Level7;
+ map[Lock+LevelFive+LevelThree+Shift] = Level8;
+ map[Lock+LevelFive+NumLock] = Level7;
+ map[Lock+LevelFive+NumLock+Shift] = Level8;
+ map[Lock+LevelFive+NumLock+LevelThree] = Level5;
+ map[Lock+LevelFive+NumLock+LevelThree+Shift] = Level6;
+
+ level_name[Level1] = "Neo Level1";
+ level_name[Level2] = "Neo Level2";
+ level_name[Level3] = "Neo Level4";
+ level_name[Level4] = "Neo Level4 Shift";
+ level_name[Level5] = "Neo Level3";
+ level_name[Level6] = "Neo Level5";
+ level_name[Level7] = "Neo Level6";
+ level_name[Level8] = "Neo Level6 Shift";
+ };
+
+ type "EIGHT_LEVEL_SEMIALPHABETIC" {
+ modifiers = Shift+Lock+LevelThree+LevelFive;
+ map[None] = Level1;
+ map[Shift] = Level2;
+ map[Lock] = Level2;
+ map[LevelThree] = Level3;
+ map[Shift+LevelThree] = Level4;
+ map[Lock+LevelThree] = Level3;
+ map[Lock+Shift+LevelThree] = Level4;
+
+ map[LevelFive] = Level5;
+ map[Shift+LevelFive] = Level6;
+ map[Lock+LevelFive] = Level6;
+ map[LevelThree+LevelFive] = Level7;
+ map[Shift+LevelThree+LevelFive] = Level8;
+ map[Lock+LevelThree+LevelFive] = Level7;
+ map[Lock+Shift+LevelThree+LevelFive] = Level8;
+
+ preserve[Lock+LevelThree] = Lock;
+ preserve[Lock+Shift+LevelThree] = Lock;
+ preserve[Lock+LevelFive] = Lock;
+ preserve[Lock+Shift+LevelFive] = Lock;
+ preserve[Lock+LevelThree+LevelFive] = Lock;
+ preserve[Lock+Shift+LevelThree+LevelFive] = Lock;
+
+ level_name[Level1] = "Base";
+ level_name[Level2] = "Shift";
+ level_name[Level3] = "Alt Base";
+ level_name[Level4] = "Shift Alt";
+ level_name[Level5] = "X";
+ level_name[Level6] = "X Shift";
+ level_name[Level7] = "X Alt Base";
+ level_name[Level8] = "X Shift Alt";
+ };
+
+};
+