summaryrefslogtreecommitdiffstats
path: root/linux/X/level5
diff options
context:
space:
mode:
authorstephan <stephan@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-10 18:36:09 +0000
committerstephan <stephan@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2009-05-10 18:36:09 +0000
commitc265005a7cc2e16603ae95808acd415401160682 (patch)
treea2e1dfb0f68ab98f493844120268d1b0574673a2 /linux/X/level5
parent59148c3706a28876a2c6ff7ee4dbc85f490edf64 (diff)
Versuch, #135 zu lösen.
Für das Wechseln zwischen den Layouts gibt es noch keine Lösung. git-svn-id: https://svn.neo-layout.org@1830 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to '')
-rw-r--r--linux/X/level5128
1 files changed, 72 insertions, 56 deletions
diff --git a/linux/X/level5 b/linux/X/level5
index f549866..30313d2 100644
--- a/linux/X/level5
+++ b/linux/X/level5
@@ -60,29 +60,35 @@ partial default xkb_types "default" {
// '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;
+ preserve[LevelFive+Shift] = Shift;
+ preserve[NumLock+Shift] = Shift;
+
+ map[None] = Level1;
+ map[Shift] = Level2;
+ map[LevelThree] = Level3;
+ map[LevelThree+Shift] = Level4;
+
+ map[LevelFive] = Level5;
+ map[LevelFive+Shift] = Level6;
+ map[LevelFive+LevelThree] = Level7;
+ map[LevelFive+LevelThree+Shift] = Level8;
+
+ map[NumLock] = Level5;
+ map[NumLock+Shift] = Level6;
+ map[NumLock+LevelThree] = Level7;
+ map[NumLock+LevelThree+Shift] = Level8;
+
+ map[NumLock+LevelFive] = Level1;
+ map[NumLock+LevelFive+Shift] = Level2;
+ map[NumLock+LevelFive+LevelThree] = Level3;
+ map[NumLock+LevelFive+LevelThree+Shift] = Level4;
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[Level3] = "Neo Level3";
+ level_name[Level4] = "Neo Level5";
+ level_name[Level5] = "Neo Level4";
+ level_name[Level6] = "Neo Level4 Shift";
level_name[Level7] = "Neo Level6";
level_name[Level8] = "Neo Level6 Shift";
};
@@ -91,46 +97,56 @@ partial default xkb_types "default" {
// '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;
+ preserve[LevelFive+Shift] = Shift;
+ preserve[NumLock+Shift] = Shift;
+
+ map[None] = Level1;
+ map[Shift] = Level2;
+ map[LevelThree] = Level3;
+ map[LevelThree+Shift] = Level4;
+
+ map[LevelFive] = Level5;
+ map[LevelFive+Shift] = Level6;
+ map[LevelFive+LevelThree] = Level7;
+ map[LevelFive+LevelThree+Shift] = Level8;
+
+ map[NumLock] = Level5;
+ map[NumLock+Shift] = Level6;
+ map[NumLock+LevelThree] = Level7;
+ map[NumLock+LevelThree+Shift] = Level8;
+
+ map[NumLock+LevelFive] = Level1;
+ map[NumLock+LevelFive+Shift] = Level2;
+ map[NumLock+LevelFive+LevelThree] = Level3;
+ map[NumLock+LevelFive+LevelThree+Shift] = Level4;
+
// 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;
+ map[Lock] = Level2;
+ map[Lock+Shift] = Level1;
+ map[Lock+LevelThree] = Level3;
+ map[Lock+LevelThree+Shift] = Level4;
+
+ map[Lock+LevelFive] = Level5;
+ map[Lock+LevelFive+Shift] = Level6;
+ map[Lock+LevelFive+LevelThree] = Level7;
+ map[Lock+LevelFive+LevelThree+Shift] = Level8;
+
+ map[Lock+NumLock] = Level5;
+ map[Lock+NumLock+Shift] = Level6;
+ map[Lock+NumLock+LevelThree] = Level7;
+ map[Lock+NumLock+LevelThree+Shift] = Level8;
+
+ map[Lock+NumLock+LevelFive] = Level2;
+ map[Lock+NumLock+LevelFive+Shift] = Level1;
+ map[Lock+NumLock+LevelFive+LevelThree] = Level3;
+ map[Lock+NumLock+LevelFive+LevelThree+Shift] = Level4;
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[Level3] = "Neo Level3";
+ level_name[Level4] = "Neo Level5";
+ level_name[Level5] = "Neo Level4";
+ level_name[Level6] = "Neo Level4 Shift";
level_name[Level7] = "Neo Level6";
level_name[Level8] = "Neo Level6 Shift";
};