summaryrefslogtreecommitdiff
path: root/linux/osd/develop/Layers.org
blob: 50361a15245e6adb7c59e149fd5188433cfe937e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
* "xkbmap": setxkbmap de neo -option
* "xmodmap": setxkbmap lv && xmodmap neo_de.xmodmap

* special layer numbers:
** 0 --> undefined
** 7 --> layer 1 with Caps Lock
** 8 --> layer 2 with Caps Lock

* find current layer

|-----+-----+-------|
| '1' | 'q' | Layer |
|-----+-----+-------|
| 1   | x   |     1 |
| °   | X   |     2 |
| ¹   | …   |     3 |
| ª   | ⋮   |     4 |
| ₁   | ξ   |     5 |
| ¬   | Ξ   |     6 |
| 1   | X   |     7 |
| °   | x   |     8 |
|-----+-----+-------|

* layers in "xkbmap"

|------------------+------+------+------+-----------|
| Modifier / Locks | none | Caps | Mod4 | Caps+Mod4 |
|------------------+------+------+------+-----------|
| none             |    1 |    7 |    4 |         4 |
| Mod3             |    3 |    3 |    6 |         6 |
| Mod4             |    4 |    4 |    1 |         7 |
| Mod3+Mod4        |    6 |    6 |    3 |         3 |
|------------------+------+------+------+-----------|
| Shift            |    2 |    8 |    0 |         0 |
| Shift+Mod3       |    5 |    5 |    0 |         0 |
| Shift+Mod4       |    0 |    0 |    2 |         8 |
| all              |    0 |    0 |    0 |         0 |
|------------------+------+------+------+-----------|


* plain (xkbmap):

|-----------+----------+---------|
| Shift off | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        1 |       4 |
| Mod3 on   |        3 |       6 |
|-----------+----------+---------|
| Shift on  | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        2 |       0 |
| Mod3 on   |        5 |       0 |
|-----------+----------+---------|


* Caps Lock (xkbmap):

|-----------+----------+---------|
| Shift off | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        7 |       4 |
| Mod3 on   |        3 |       6 |
|-----------+----------+---------|
| Shift on  | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        8 |       0 |
| Mod3 on   |        5 |       0 |
|-----------+----------+---------|


* Mod4 Lock (xkbmap):

|-----------+----------+---------|
| Shift off | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        4 |       1 |
| Mod3 on   |        6 |       3 |
|-----------+----------+---------|
| Shift on  | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        0 |       2 |
| Mod3 on   |        0 |       5 |
|-----------+----------+---------|


* Caps+Mod4 Lock (xkbmap):

|-----------+----------+---------|
| Shift off | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        4 |       7 |
| Mod3 on   |        6 |       3 |
|-----------+----------+---------|
| Shift on  | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        0 |       8 |
| Mod3 on   |        0 |       5 |
|-----------+----------+---------|


* layers in "xmodmap"

|------------------+------+------+------+-----------|
| Modifier / Locks | none | Caps | Mod4 | Caps+Mod4 |
|------------------+------+------+------+-----------|
| none             |    1 |    2 |    4 |         0 |
| Mod3             |    3 |    5 |    3 |         5 |
| Mod4             |    4 |    0 |    4 |         0 |
| Mod3+Mod4        |    6 |    6 |    6 |         5 |
|------------------+------+------+------+-----------|
| Shift            |    2 |    8 |    0 |         0 |
| Shift+Mod3       |    5 |    5 |    5 |         5 |
| Shift+Mod4       |    0 |    0 |    0 |         0 |
| all              |    6 |    6 |    6 |         5 |
|------------------+------+------+------+-----------|


* plain (xmodmap):

|-----------+----------+---------|
| Shift off | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        1 |       4 |
| Mod3 on   |        3 |       6 |
|-----------+----------+---------|
| Shift on  | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        2 |       0 |
| Mod3 on   |        5 |       6 |
|-----------+----------+---------|


* Caps Lock (xmodmap):

|-----------+----------+---------|
| Shift off | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        2 |       0 |
| Mod3 on   |        5 |       6 |
|-----------+----------+---------|
| Shift on  | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        2 |       0 |
| Mod3 on   |        5 |       6 |
|-----------+----------+---------|


* Mod4 Lock (xmodmap):

|-----------+----------+---------|
| Shift off | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        4 |       4 |
| Mod3 on   |        3 |       6 |
|-----------+----------+---------|
| Shift on  | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        0 |       0 |
| Mod3 on   |        5 |       6 |
|-----------+----------+---------|


* Caps+Mod4 Lock (xmodmap):

|-----------+----------+---------|
| Shift off | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        0 |       0 |
| Mod3 on   |        5 |       5 |
|-----------+----------+---------|
| Shift on  | Mod4 off | Mod4 on |
|-----------+----------+---------|
| Mod3 off  |        0 |       0 |
| Mod3 on   |        5 |       5 |
|-----------+----------+---------|


#+STARTUP: showall