summaryrefslogtreecommitdiff
path: root/symbols/level5
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2013-09-21 09:59:53 +0200
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2013-09-30 22:47:58 +0100
commit88a6790b4620543fad50dc7f873d368d0fd6a1f7 (patch)
tree63cfaeb1ea8ee911afb59c11ba73f7618a7f178c /symbols/level5
parentf4a16d7305063d41f7d106fd77a3cf09c49134ab (diff)
downloadxkeyboard-config-88a6790b4620543fad50dc7f873d368d0fd6a1f7.tar.gz
symbols/level[35]: Move the default section to the head of the files.
When no section is specified, 'xkbcomp' simply takes the first one from the file, it does not look for the keyword 'default'. So make it do something sane and useful when the user is terse. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'symbols/level5')
-rw-r--r--symbols/level520
1 files changed, 10 insertions, 10 deletions
diff --git a/symbols/level5 b/symbols/level5
index 4c5a833..c4c760f 100644
--- a/symbols/level5
+++ b/symbols/level5
@@ -1,16 +1,6 @@
// These partial variants assign ISO_Level5_Shift to various XKB keycodes
// so that the fifth shift level can be reached.
-// Ensure a mapping to a real modifier for LevelFive.
-partial modifier_keys
-xkb_symbols "modifier_mapping" {
- replace key <MDSW> {
- type[Group1] = "ONE_LEVEL";
- symbols[Group1] = [ ISO_Level5_Shift ]
- };
- modifier_map Mod3 { <MDSW> };
-};
-
// The right Ctrl key (while pressed) chooses the fifth shift level.
partial modifier_keys
xkb_symbols "rctrl_switch" {
@@ -41,6 +31,16 @@ xkb_symbols "ralt_switch" {
include "level5(modifier_mapping)"
};
+// Ensure a mapping to a real modifier for LevelFive.
+partial modifier_keys
+xkb_symbols "modifier_mapping" {
+ replace key <MDSW> {
+ type[Group1] = "ONE_LEVEL";
+ symbols[Group1] = [ ISO_Level5_Shift ]
+ };
+ modifier_map Mod3 { <MDSW> };
+};
+
// This adds the definitions needed to create a level5-lock behaviour, using
// the real modifier NumLock as a lock indicator.