diff options
author | stephan <stephan@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-05-09 21:54:18 +0000 |
---|---|---|
committer | stephan <stephan@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-05-09 21:54:18 +0000 |
commit | 90de31cb8efcdc21a8e5bc5ce7bba7b6575417fa (patch) | |
tree | 96828ca744419667cafbe1843534687354a3c359 /linux/X/level5-test | |
parent | 8de8839ba18d9fd587761fec0a22fa6d1282e671 (diff) | |
download | neo-layout-90de31cb8efcdc21a8e5bc5ce7bba7b6575417fa.tar.gz neo-layout-90de31cb8efcdc21a8e5bc5ce7bba7b6575417fa.tar.bz2 neo-layout-90de31cb8efcdc21a8e5bc5ce7bba7b6575417fa.zip |
Neuer xkb-Entwurf hinzugefügt.
Readme ergänzt.
git-svn-id: https://svn.neo-layout.org@1824 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux/X/level5-test')
-rw-r--r-- | linux/X/level5-test | 174 |
1 files changed, 174 insertions, 0 deletions
diff --git a/linux/X/level5-test b/linux/X/level5-test new file mode 100644 index 0000000..9a6b22a --- /dev/null +++ b/linux/X/level5-test @@ -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"; + }; + +}; + |