Debian Codegraph @

test/data/keymaps/symbols-multi-keysyms-empty.xkb

raw
1 xkb_keymap {
2 xkb_keycodes {
3 minimum = 8;
4 maximum = 255;
5 <10> = 10;
6 <11> = 11;
7 <12> = 12;
8 <13> = 13;
9 <14> = 14;
10 <15> = 15;
11 <16> = 16;
12 <17> = 17;
13 <18> = 18;
14 <19> = 19;
15 <20> = 20;
16 <21> = 21;
17 <22> = 22;
18 <23> = 23;
19 <30> = 30;
20 <31> = 31;
21 <32> = 32;
22 <33> = 33;
23 <34> = 34;
24 <35> = 35;
25 <36> = 36;
26 <37> = 37;
27 <38> = 38;
28 <39> = 39;
29 };
30
31 xkb_types "basic_extra" {
32 virtual_modifiers NumLock=0x100,Alt=0x200,LevelThree=0x400;
33
34 type "ONE_LEVEL" {
35 modifiers= none;
36 level_name[1]= "Any";
37 };
38 type "TWO_LEVEL" {
39 modifiers= Shift;
40 map[Shift]= 2;
41 level_name[1]= "Base";
42 level_name[2]= "Shift";
43 };
44 type "ALPHABETIC" {
45 modifiers= Shift+Lock;
46 map[Shift]= 2;
47 map[Lock]= 2;
48 level_name[1]= "Base";
49 level_name[2]= "Caps";
50 };
51 type "FOUR_LEVEL" {
52 modifiers= Shift+LevelThree;
53 map[Shift]= 2;
54 map[LevelThree]= 3;
55 map[Shift+LevelThree]= 4;
56 level_name[1]= "Base";
57 level_name[2]= "Shift";
58 level_name[3]= "Alt Base";
59 level_name[4]= "Shift Alt";
60 };
61 type "FOUR_LEVEL_ALPHABETIC" {
62 modifiers= Shift+Lock+LevelThree;
63 map[Shift]= 2;
64 map[Lock]= 2;
65 map[LevelThree]= 3;
66 map[Shift+LevelThree]= 4;
67 map[Lock+LevelThree]= 4;
68 map[Shift+Lock+LevelThree]= 3;
69 level_name[1]= "Base";
70 level_name[2]= "Shift";
71 level_name[3]= "Alt Base";
72 level_name[4]= "Shift Alt";
73 };
74 type "FOUR_LEVEL_SEMIALPHABETIC" {
75 modifiers= Shift+Lock+LevelThree;
76 map[Shift]= 2;
77 map[Lock]= 2;
78 map[LevelThree]= 3;
79 map[Shift+LevelThree]= 4;
80 map[Lock+LevelThree]= 3;
81 preserve[Lock+LevelThree]= Lock;
82 map[Shift+Lock+LevelThree]= 4;
83 preserve[Shift+Lock+LevelThree]= Lock;
84 level_name[1]= "Base";
85 level_name[2]= "Shift";
86 level_name[3]= "Alt Base";
87 level_name[4]= "Shift Alt";
88 };
89 type "FOUR_LEVEL_MIXED_KEYPAD" {
90 modifiers= Shift+NumLock+LevelThree;
91 map[NumLock]= 2;
92 map[Shift]= 2;
93 map[LevelThree]= 3;
94 map[NumLock+LevelThree]= 3;
95 map[Shift+LevelThree]= 4;
96 map[Shift+NumLock+LevelThree]= 4;
97 level_name[1]= "Base";
98 level_name[2]= "Number";
99 level_name[3]= "Alt Base";
100 level_name[4]= "Shift Alt";
101 };
102 type "FOUR_LEVEL_X" {
103 modifiers= Shift+Control+Alt+LevelThree;
104 map[LevelThree]= 2;
105 map[Shift+LevelThree]= 3;
106 map[Control+Alt]= 4;
107 level_name[1]= "Base";
108 level_name[2]= "Alt Base";
109 level_name[3]= "Shift Alt";
110 level_name[4]= "Ctrl+Alt";
111 };
112 type "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC" {
113 modifiers= Shift+Lock+LevelThree;
114 map[Shift]= 2;
115 map[Lock]= 4;
116 preserve[Lock]= Lock;
117 map[LevelThree]= 3;
118 map[Shift+LevelThree]= 4;
119 map[Lock+LevelThree]= 3;
120 preserve[Lock+LevelThree]= Lock;
121 map[Shift+Lock+LevelThree]= 3;
122 level_name[1]= "Base";
123 level_name[2]= "Shift";
124 level_name[3]= "AltGr Base";
125 level_name[4]= "Shift AltGr";
126 };
127 type "FOUR_LEVEL_PLUS_LOCK" {
128 modifiers= Shift+Lock+LevelThree;
129 map[Shift]= 2;
130 map[LevelThree]= 3;
131 map[Shift+LevelThree]= 4;
132 map[Lock]= 5;
133 map[Shift+Lock]= 2;
134 map[Lock+LevelThree]= 3;
135 map[Shift+Lock+LevelThree]= 4;
136 level_name[1]= "Base";
137 level_name[2]= "Shift";
138 level_name[3]= "Alt Base";
139 level_name[4]= "Shift Alt";
140 level_name[5]= "Lock";
141 };
142 };
143
144 xkb_compatibility {
145 virtual_modifiers NumLock=0x100,Alt=0x200,LevelThree=0x400;
146
147 interpret.useModMapMods= AnyLevel;
148 interpret.repeat= False;
149 interpret 1+AnyOfOrNone(all) {
150 action= NoAction();
151 };
152 interpret 2+AnyOfOrNone(all) {
153 action= NoAction();
154 };
155 interpret 3+AnyOfOrNone(all) {
156 action= SetMods(modifiers=none);
157 };
158 interpret 4+AnyOfOrNone(all) {
159 action= {SetMods(modifiers=none), SetGroup(group=1)};
160 };
161 };
162
163 xkb_symbols {
164 key <12> {
165 repeat= No,
166 symbols[1]= [ NoSymbol ],
167 actions[1]= [ SetMods(modifiers=Shift) ]
168 };
169 key <13> {
170 repeat= No,
171 symbols[1]= [ NoSymbol ],
172 actions[1]= [ SetMods(modifiers=Shift) ]
173 };
174 key <14> {
175 type= "TWO_LEVEL",
176 symbols[1]= [ NoSymbol, NoSymbol ]
177 };
178 key <15> {
179 type= "TWO_LEVEL",
180 symbols[1]= [ NoSymbol, NoSymbol ]
181 };
182 key <16> { [ a, A ] };
183 key <17> { [ a, A ] };
184 key <18> {
185 type= "FOUR_LEVEL_SEMIALPHABETIC",
186 symbols[1]= [ a, A, NoSymbol, NoSymbol ]
187 };
188 key <19> {
189 type= "FOUR_LEVEL_SEMIALPHABETIC",
190 symbols[1]= [ a, A, NoSymbol, NoSymbol ]
191 };
192 key <20> { [ a, A, ae, NoSymbol ] };
193 key <21> { [ a, A, ae, NoSymbol ] };
194 key <22> { [ a, A, ae, AE ] };
195 key <23> { [ a, A, ae, AE ] };
196 key <32> {
197 repeat= No,
198 symbols[1]= [ a ],
199 actions[1]= [ NoAction() ]
200 };
201 key <33> {
202 repeat= No,
203 symbols[1]= [ a ],
204 actions[1]= [ NoAction() ]
205 };
206 key <34> {
207 type= "TWO_LEVEL",
208 repeat= No,
209 symbols[1]= [ NoSymbol, NoSymbol ],
210 actions[1]= [ NoAction(), NoAction() ]
211 };
212 key <35> {
213 type= "TWO_LEVEL",
214 repeat= No,
215 symbols[1]= [ NoSymbol, NoSymbol ],
216 actions[1]= [ NoAction(), NoAction() ]
217 };
218 key <38> {
219 type= "FOUR_LEVEL_SEMIALPHABETIC",
220 repeat= No,
221 symbols[1]= [ NoSymbol, NoSymbol, NoSymbol, NoSymbol ],
222 actions[1]= [ NoAction(), NoAction(), NoAction(), NoAction() ]
223 };
224 key <39> {
225 type= "FOUR_LEVEL_SEMIALPHABETIC",
226 repeat= No,
227 symbols[1]= [ NoSymbol, NoSymbol, NoSymbol, NoSymbol ],
228 actions[1]= [ NoAction(), NoAction(), NoAction(), NoAction() ]
229 };
230 };
231
232 };