summaryrefslogtreecommitdiff
path: root/types
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2022-05-31 11:24:22 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2022-06-03 17:41:23 +0200
commit924a3ab07ddd3607d3756346cf0a1272723d14bf (patch)
tree44cd995e3567c0712b584bdc602e11eb9ff2df13 /types
parenta2e91e9292a7e8cb054d0dede78ab30b6d287323 (diff)
downloadxkeyboard-config-924a3ab07ddd3607d3756346cf0a1272723d14bf.tar.gz
condense and correct four comments -- NumLock is a virtual modifier
Mod2 is the real modifier, to which "NumLock" gets mapped by making <HYPR> set the "NumLock" modifier *and* mapping <HYPR> to Mod2. (The logic is absurd, but what can one do?) Also, reshuffle two lines and rearrange two lines for esthetics.
Diffstat (limited to 'types')
-rw-r--r--types/level510
1 files changed, 4 insertions, 6 deletions
diff --git a/types/level5 b/types/level5
index 19d1552..51770a2 100644
--- a/types/level5
+++ b/types/level5
@@ -54,10 +54,9 @@ default partial xkb_types "default" {
};
type "EIGHT_LEVEL_LEVEL_FIVE_LOCK" {
- // Level5-Lock is implemented by using NumLock, because a real modifier
- // is required.
+ // Level5-Lock is implemented with virtual modifier NumLock.
- modifiers = Shift + Lock + LevelThree + NumLock + LevelFive;
+ modifiers = Shift + Lock + LevelThree + LevelFive + NumLock;
map[None] = Level1;
map[Shift] = Level2;
@@ -116,10 +115,9 @@ default partial xkb_types "default" {
};
type "EIGHT_LEVEL_ALPHABETIC_LEVEL_FIVE_LOCK" {
- // Level5-Lock is implemented by using NumLock, because a real modifier
- // is required.
+ // Level5-Lock is implemented with virtual modifier NumLock.
- modifiers = Shift + Lock + LevelThree + NumLock + LevelFive;
+ modifiers = Shift + Lock + LevelThree + LevelFive + NumLock;
map[None] = Level1;
map[Shift] = Level2;