fix mistake from recent commit
[distro-setup] / flidas-2017-12.xkb
1 xkb_keymap {
2 xkb_keycodes "evdev+aliases(qwerty)" {
3 minimum = 8;
4 maximum = 255;
5 <ESC> = 9;
6 <AE01> = 10;
7 <AE02> = 11;
8 <AE03> = 12;
9 <AE04> = 13;
10 <AE05> = 14;
11 <AE06> = 15;
12 <AE07> = 16;
13 <AE08> = 17;
14 <AE09> = 18;
15 <AE10> = 19;
16 <AE11> = 20;
17 <AE12> = 21;
18 <BKSP> = 22;
19 <TAB> = 23;
20 <AD01> = 24;
21 <AD02> = 25;
22 <AD03> = 26;
23 <AD04> = 27;
24 <AD05> = 28;
25 <AD06> = 29;
26 <AD07> = 30;
27 <AD08> = 31;
28 <AD09> = 32;
29 <AD10> = 33;
30 <AD11> = 34;
31 <AD12> = 35;
32 <RTRN> = 36;
33 <LCTL> = 37;
34 <AC01> = 38;
35 <AC02> = 39;
36 <AC03> = 40;
37 <AC04> = 41;
38 <AC05> = 42;
39 <AC06> = 43;
40 <AC07> = 44;
41 <AC08> = 45;
42 <AC09> = 46;
43 <AC10> = 47;
44 <AC11> = 48;
45 <TLDE> = 49;
46 <LFSH> = 50;
47 <BKSL> = 51;
48 <AB01> = 52;
49 <AB02> = 53;
50 <AB03> = 54;
51 <AB04> = 55;
52 <AB05> = 56;
53 <AB06> = 57;
54 <AB07> = 58;
55 <AB08> = 59;
56 <AB09> = 60;
57 <AB10> = 61;
58 <RTSH> = 62;
59 <KPMU> = 63;
60 <LALT> = 64;
61 <SPCE> = 65;
62 <CAPS> = 66;
63 <FK01> = 67;
64 <FK02> = 68;
65 <FK03> = 69;
66 <FK04> = 70;
67 <FK05> = 71;
68 <FK06> = 72;
69 <FK07> = 73;
70 <FK08> = 74;
71 <FK09> = 75;
72 <FK10> = 76;
73 <NMLK> = 77;
74 <SCLK> = 78;
75 <KP7> = 79;
76 <KP8> = 80;
77 <KP9> = 81;
78 <KPSU> = 82;
79 <KP4> = 83;
80 <KP5> = 84;
81 <KP6> = 85;
82 <KPAD> = 86;
83 <KP1> = 87;
84 <KP2> = 88;
85 <KP3> = 89;
86 <KP0> = 90;
87 <KPDL> = 91;
88 <LVL3> = 92;
89 <LSGT> = 94;
90 <FK11> = 95;
91 <FK12> = 96;
92 <AB11> = 97;
93 <KATA> = 98;
94 <HIRA> = 99;
95 <HENK> = 100;
96 <HKTG> = 101;
97 <MUHE> = 102;
98 <JPCM> = 103;
99 <KPEN> = 104;
100 <RCTL> = 105;
101 <KPDV> = 106;
102 <PRSC> = 107;
103 <RALT> = 108;
104 <LNFD> = 109;
105 <HOME> = 110;
106 <UP> = 111;
107 <PGUP> = 112;
108 <LEFT> = 113;
109 <RGHT> = 114;
110 <END> = 115;
111 <DOWN> = 116;
112 <PGDN> = 117;
113 <INS> = 118;
114 <DELE> = 119;
115 <I120> = 120;
116 <MUTE> = 121;
117 <VOL-> = 122;
118 <VOL+> = 123;
119 <POWR> = 124;
120 <KPEQ> = 125;
121 <I126> = 126;
122 <PAUS> = 127;
123 <I128> = 128;
124 <I129> = 129;
125 <HNGL> = 130;
126 <HJCV> = 131;
127 <AE13> = 132;
128 <LWIN> = 133;
129 <RWIN> = 134;
130 <COMP> = 135;
131 <STOP> = 136;
132 <AGAI> = 137;
133 <PROP> = 138;
134 <UNDO> = 139;
135 <FRNT> = 140;
136 <COPY> = 141;
137 <OPEN> = 142;
138 <PAST> = 143;
139 <FIND> = 144;
140 <CUT> = 145;
141 <HELP> = 146;
142 <I147> = 147;
143 <I148> = 148;
144 <I149> = 149;
145 <I150> = 150;
146 <I151> = 151;
147 <I152> = 152;
148 <I153> = 153;
149 <I154> = 154;
150 <I155> = 155;
151 <I156> = 156;
152 <I157> = 157;
153 <I158> = 158;
154 <I159> = 159;
155 <I160> = 160;
156 <I161> = 161;
157 <I162> = 162;
158 <I163> = 163;
159 <I164> = 164;
160 <I165> = 165;
161 <I166> = 166;
162 <I167> = 167;
163 <I168> = 168;
164 <I169> = 169;
165 <I170> = 170;
166 <I171> = 171;
167 <I172> = 172;
168 <I173> = 173;
169 <I174> = 174;
170 <I175> = 175;
171 <I176> = 176;
172 <I177> = 177;
173 <I178> = 178;
174 <I179> = 179;
175 <I180> = 180;
176 <I181> = 181;
177 <I182> = 182;
178 <I183> = 183;
179 <I184> = 184;
180 <I185> = 185;
181 <I186> = 186;
182 <I187> = 187;
183 <I188> = 188;
184 <I189> = 189;
185 <I190> = 190;
186 <FK13> = 191;
187 <FK14> = 192;
188 <FK15> = 193;
189 <FK16> = 194;
190 <FK17> = 195;
191 <FK18> = 196;
192 <FK19> = 197;
193 <FK20> = 198;
194 <FK21> = 199;
195 <FK22> = 200;
196 <FK23> = 201;
197 <FK24> = 202;
198 <MDSW> = 203;
199 <ALT> = 204;
200 <META> = 205;
201 <SUPR> = 206;
202 <HYPR> = 207;
203 <I208> = 208;
204 <I209> = 209;
205 <I210> = 210;
206 <I211> = 211;
207 <I212> = 212;
208 <I213> = 213;
209 <I214> = 214;
210 <I215> = 215;
211 <I216> = 216;
212 <I217> = 217;
213 <I218> = 218;
214 <I219> = 219;
215 <I220> = 220;
216 <I221> = 221;
217 <I222> = 222;
218 <I223> = 223;
219 <I224> = 224;
220 <I225> = 225;
221 <I226> = 226;
222 <I227> = 227;
223 <I228> = 228;
224 <I229> = 229;
225 <I230> = 230;
226 <I231> = 231;
227 <I232> = 232;
228 <I233> = 233;
229 <I234> = 234;
230 <I235> = 235;
231 <I236> = 236;
232 <I237> = 237;
233 <I238> = 238;
234 <I239> = 239;
235 <I240> = 240;
236 <I241> = 241;
237 <I242> = 242;
238 <I243> = 243;
239 <I244> = 244;
240 <I245> = 245;
241 <I246> = 246;
242 <I247> = 247;
243 <I248> = 248;
244 <I249> = 249;
245 <I250> = 250;
246 <I251> = 251;
247 <I252> = 252;
248 <I253> = 253;
249 indicator 1 = "Caps Lock";
250 indicator 2 = "Num Lock";
251 indicator 3 = "Scroll Lock";
252 indicator 4 = "Compose";
253 indicator 5 = "Kana";
254 indicator 6 = "Sleep";
255 indicator 7 = "Suspend";
256 indicator 8 = "Mute";
257 indicator 9 = "Misc";
258 indicator 10 = "Mail";
259 indicator 11 = "Charging";
260 virtual indicator 12 = "Shift Lock";
261 virtual indicator 13 = "Group 2";
262 virtual indicator 14 = "Mouse Keys";
263 alias <AC12> = <BKSL>;
264 alias <MENU> = <COMP>;
265 alias <HZTG> = <TLDE>;
266 alias <LMTA> = <LWIN>;
267 alias <RMTA> = <RWIN>;
268 alias <ALGR> = <RALT>;
269 alias <KPPT> = <I129>;
270 alias <LatQ> = <AD01>;
271 alias <LatW> = <AD02>;
272 alias <LatE> = <AD03>;
273 alias <LatR> = <AD04>;
274 alias <LatT> = <AD05>;
275 alias <LatY> = <AD06>;
276 alias <LatU> = <AD07>;
277 alias <LatI> = <AD08>;
278 alias <LatO> = <AD09>;
279 alias <LatP> = <AD10>;
280 alias <LatA> = <AC01>;
281 alias <LatS> = <AC02>;
282 alias <LatD> = <AC03>;
283 alias <LatF> = <AC04>;
284 alias <LatG> = <AC05>;
285 alias <LatH> = <AC06>;
286 alias <LatJ> = <AC07>;
287 alias <LatK> = <AC08>;
288 alias <LatL> = <AC09>;
289 alias <LatZ> = <AB01>;
290 alias <LatX> = <AB02>;
291 alias <LatC> = <AB03>;
292 alias <LatV> = <AB04>;
293 alias <LatB> = <AB05>;
294 alias <LatN> = <AB06>;
295 alias <LatM> = <AB07>;
296 };
297
298 xkb_types "complete" {
299
300 virtual_modifiers NumLock,Alt,LevelThree,LAlt,RAlt,RControl,LControl,ScrollLock,LevelFive,AltGr,Meta,Super,Hyper;
301
302 type "ONE_LEVEL" {
303 modifiers= none;
304 level_name[Level1]= "Any";
305 };
306 type "TWO_LEVEL" {
307 modifiers= Shift;
308 map[Shift]= Level2;
309 level_name[Level1]= "Base";
310 level_name[Level2]= "Shift";
311 };
312 type "ALPHABETIC" {
313 modifiers= Shift+Lock;
314 map[Shift]= Level2;
315 map[Lock]= Level2;
316 level_name[Level1]= "Base";
317 level_name[Level2]= "Caps";
318 };
319 type "KEYPAD" {
320 modifiers= Shift+NumLock;
321 map[Shift]= Level2;
322 map[NumLock]= Level2;
323 level_name[Level1]= "Base";
324 level_name[Level2]= "Number";
325 };
326 type "SHIFT+ALT" {
327 modifiers= Shift+Alt;
328 map[Shift+Alt]= Level2;
329 level_name[Level1]= "Base";
330 level_name[Level2]= "Shift+Alt";
331 };
332 type "PC_SUPER_LEVEL2" {
333 modifiers= Mod4;
334 map[Mod4]= Level2;
335 level_name[Level1]= "Base";
336 level_name[Level2]= "Super";
337 };
338 type "PC_CONTROL_LEVEL2" {
339 modifiers= Control;
340 map[Control]= Level2;
341 level_name[Level1]= "Base";
342 level_name[Level2]= "Control";
343 };
344 type "PC_LCONTROL_LEVEL2" {
345 modifiers= LControl;
346 map[LControl]= Level2;
347 level_name[Level1]= "Base";
348 level_name[Level2]= "LControl";
349 };
350 type "PC_RCONTROL_LEVEL2" {
351 modifiers= RControl;
352 map[RControl]= Level2;
353 level_name[Level1]= "Base";
354 level_name[Level2]= "RControl";
355 };
356 type "PC_ALT_LEVEL2" {
357 modifiers= Alt;
358 map[Alt]= Level2;
359 level_name[Level1]= "Base";
360 level_name[Level2]= "Alt";
361 };
362 type "PC_LALT_LEVEL2" {
363 modifiers= LAlt;
364 map[LAlt]= Level2;
365 level_name[Level1]= "Base";
366 level_name[Level2]= "LAlt";
367 };
368 type "PC_RALT_LEVEL2" {
369 modifiers= RAlt;
370 map[RAlt]= Level2;
371 level_name[Level1]= "Base";
372 level_name[Level2]= "RAlt";
373 };
374 type "CTRL+ALT" {
375 modifiers= Shift+Control+Alt+LevelThree;
376 map[Shift]= Level2;
377 preserve[Shift]= Shift;
378 map[LevelThree]= Level3;
379 map[Shift+LevelThree]= Level4;
380 preserve[Shift+LevelThree]= Shift;
381 map[Control+Alt]= Level5;
382 level_name[Level1]= "Base";
383 level_name[Level2]= "Shift";
384 level_name[Level3]= "Alt Base";
385 level_name[Level4]= "Shift Alt";
386 level_name[Level5]= "Ctrl+Alt";
387 };
388 type "LOCAL_EIGHT_LEVEL" {
389 modifiers= Shift+Lock+Control+LevelThree;
390 map[Shift+Lock]= Level1;
391 map[Shift]= Level2;
392 map[Lock]= Level2;
393 map[LevelThree]= Level3;
394 map[Shift+Lock+LevelThree]= Level3;
395 map[Shift+LevelThree]= Level4;
396 map[Lock+LevelThree]= Level4;
397 map[Control]= Level5;
398 map[Shift+Lock+Control]= Level5;
399 map[Shift+Control]= Level6;
400 map[Lock+Control]= Level6;
401 map[Control+LevelThree]= Level7;
402 map[Shift+Lock+Control+LevelThree]= Level7;
403 map[Shift+Control+LevelThree]= Level8;
404 map[Lock+Control+LevelThree]= Level8;
405 level_name[Level1]= "Base";
406 level_name[Level2]= "Shift";
407 level_name[Level3]= "Level3";
408 level_name[Level4]= "Shift Level3";
409 level_name[Level5]= "Ctrl";
410 level_name[Level6]= "Shift Ctrl";
411 level_name[Level7]= "Level3 Ctrl";
412 level_name[Level8]= "Shift Level3 Ctrl";
413 };
414 type "THREE_LEVEL" {
415 modifiers= Shift+LevelThree;
416 map[Shift]= Level2;
417 map[LevelThree]= Level3;
418 map[Shift+LevelThree]= Level3;
419 level_name[Level1]= "Base";
420 level_name[Level2]= "Shift";
421 level_name[Level3]= "Level3";
422 };
423 type "EIGHT_LEVEL" {
424 modifiers= Shift+LevelThree+LevelFive;
425 map[Shift]= Level2;
426 map[LevelThree]= Level3;
427 map[Shift+LevelThree]= Level4;
428 map[LevelFive]= Level5;
429 map[Shift+LevelFive]= Level6;
430 map[LevelThree+LevelFive]= Level7;
431 map[Shift+LevelThree+LevelFive]= Level8;
432 level_name[Level1]= "Base";
433 level_name[Level2]= "Shift";
434 level_name[Level3]= "Alt Base";
435 level_name[Level4]= "Shift Alt";
436 level_name[Level5]= "X";
437 level_name[Level6]= "X Shift";
438 level_name[Level7]= "X Alt Base";
439 level_name[Level8]= "X Shift Alt";
440 };
441 type "EIGHT_LEVEL_ALPHABETIC" {
442 modifiers= Shift+Lock+LevelThree+LevelFive;
443 map[Shift]= Level2;
444 map[Lock]= Level2;
445 map[LevelThree]= Level3;
446 map[Shift+LevelThree]= Level4;
447 map[Lock+LevelThree]= Level4;
448 map[Shift+Lock+LevelThree]= Level3;
449 map[LevelFive]= Level5;
450 map[Shift+LevelFive]= Level6;
451 map[Lock+LevelFive]= Level6;
452 map[LevelThree+LevelFive]= Level7;
453 map[Shift+LevelThree+LevelFive]= Level8;
454 map[Lock+LevelThree+LevelFive]= Level8;
455 map[Shift+Lock+LevelThree+LevelFive]= Level7;
456 level_name[Level1]= "Base";
457 level_name[Level2]= "Shift";
458 level_name[Level3]= "Alt Base";
459 level_name[Level4]= "Shift Alt";
460 level_name[Level5]= "X";
461 level_name[Level6]= "X Shift";
462 level_name[Level7]= "X Alt Base";
463 level_name[Level8]= "X Shift Alt";
464 };
465 type "EIGHT_LEVEL_SEMIALPHABETIC" {
466 modifiers= Shift+Lock+LevelThree+LevelFive;
467 map[Shift]= Level2;
468 map[Lock]= Level2;
469 map[LevelThree]= Level3;
470 map[Shift+LevelThree]= Level4;
471 map[Lock+LevelThree]= Level3;
472 preserve[Lock+LevelThree]= Lock;
473 map[Shift+Lock+LevelThree]= Level4;
474 preserve[Shift+Lock+LevelThree]= Lock;
475 map[LevelFive]= Level5;
476 map[Shift+LevelFive]= Level6;
477 map[Lock+LevelFive]= Level6;
478 preserve[Lock+LevelFive]= Lock;
479 map[Shift+Lock+LevelFive]= Level6;
480 preserve[Shift+Lock+LevelFive]= Lock;
481 map[LevelThree+LevelFive]= Level7;
482 map[Shift+LevelThree+LevelFive]= Level8;
483 map[Lock+LevelThree+LevelFive]= Level7;
484 preserve[Lock+LevelThree+LevelFive]= Lock;
485 map[Shift+Lock+LevelThree+LevelFive]= Level8;
486 preserve[Shift+Lock+LevelThree+LevelFive]= Lock;
487 level_name[Level1]= "Base";
488 level_name[Level2]= "Shift";
489 level_name[Level3]= "Alt Base";
490 level_name[Level4]= "Shift Alt";
491 level_name[Level5]= "X";
492 level_name[Level6]= "X Shift";
493 level_name[Level7]= "X Alt Base";
494 level_name[Level8]= "X Shift Alt";
495 };
496 type "FOUR_LEVEL" {
497 modifiers= Shift+LevelThree;
498 map[Shift]= Level2;
499 map[LevelThree]= Level3;
500 map[Shift+LevelThree]= Level4;
501 level_name[Level1]= "Base";
502 level_name[Level2]= "Shift";
503 level_name[Level3]= "Alt Base";
504 level_name[Level4]= "Shift Alt";
505 };
506 type "FOUR_LEVEL_ALPHABETIC" {
507 modifiers= Shift+Lock+LevelThree;
508 map[Shift]= Level2;
509 map[Lock]= Level2;
510 map[LevelThree]= Level3;
511 map[Shift+LevelThree]= Level4;
512 map[Lock+LevelThree]= Level4;
513 map[Shift+Lock+LevelThree]= Level3;
514 level_name[Level1]= "Base";
515 level_name[Level2]= "Shift";
516 level_name[Level3]= "Alt Base";
517 level_name[Level4]= "Shift Alt";
518 };
519 type "FOUR_LEVEL_SEMIALPHABETIC" {
520 modifiers= Shift+Lock+LevelThree;
521 map[Shift]= Level2;
522 map[Lock]= Level2;
523 map[LevelThree]= Level3;
524 map[Shift+LevelThree]= Level4;
525 map[Lock+LevelThree]= Level3;
526 preserve[Lock+LevelThree]= Lock;
527 map[Shift+Lock+LevelThree]= Level4;
528 preserve[Shift+Lock+LevelThree]= Lock;
529 level_name[Level1]= "Base";
530 level_name[Level2]= "Shift";
531 level_name[Level3]= "Alt Base";
532 level_name[Level4]= "Shift Alt";
533 };
534 type "FOUR_LEVEL_MIXED_KEYPAD" {
535 modifiers= Shift+NumLock+LevelThree;
536 map[Shift+NumLock]= Level1;
537 map[NumLock]= Level2;
538 map[Shift]= Level2;
539 map[LevelThree]= Level3;
540 map[NumLock+LevelThree]= Level3;
541 map[Shift+LevelThree]= Level4;
542 map[Shift+NumLock+LevelThree]= Level4;
543 level_name[Level1]= "Base";
544 level_name[Level2]= "Number";
545 level_name[Level3]= "Alt Base";
546 level_name[Level4]= "Shift Alt";
547 };
548 type "FOUR_LEVEL_X" {
549 modifiers= Shift+Control+Alt+LevelThree;
550 map[LevelThree]= Level2;
551 map[Shift+LevelThree]= Level3;
552 map[Control+Alt]= Level4;
553 level_name[Level1]= "Base";
554 level_name[Level2]= "Alt Base";
555 level_name[Level3]= "Shift Alt";
556 level_name[Level4]= "Ctrl+Alt";
557 };
558 type "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC" {
559 modifiers= Shift+Lock+LevelThree;
560 map[Shift]= Level2;
561 map[Lock]= Level4;
562 preserve[Lock]= Lock;
563 map[LevelThree]= Level3;
564 map[Shift+LevelThree]= Level4;
565 map[Lock+LevelThree]= Level3;
566 preserve[Lock+LevelThree]= Lock;
567 map[Shift+Lock+LevelThree]= Level3;
568 level_name[Level1]= "Base";
569 level_name[Level2]= "Shift";
570 level_name[Level3]= "AltGr Base";
571 level_name[Level4]= "Shift AltGr";
572 };
573 type "FOUR_LEVEL_PLUS_LOCK" {
574 modifiers= Shift+Lock+LevelThree;
575 map[Shift]= Level2;
576 map[LevelThree]= Level3;
577 map[Shift+LevelThree]= Level4;
578 map[Lock]= Level5;
579 map[Shift+Lock]= Level2;
580 map[Lock+LevelThree]= Level3;
581 map[Shift+Lock+LevelThree]= Level4;
582 level_name[Level1]= "Base";
583 level_name[Level2]= "Shift";
584 level_name[Level3]= "Alt Base";
585 level_name[Level4]= "Shift Alt";
586 level_name[Level5]= "Lock";
587 };
588 type "FOUR_LEVEL_KEYPAD" {
589 modifiers= Shift+NumLock+LevelThree;
590 map[Shift]= Level2;
591 map[NumLock]= Level2;
592 map[LevelThree]= Level3;
593 map[Shift+LevelThree]= Level4;
594 map[NumLock+LevelThree]= Level4;
595 map[Shift+NumLock+LevelThree]= Level3;
596 level_name[Level1]= "Base";
597 level_name[Level2]= "Number";
598 level_name[Level3]= "Alt Base";
599 level_name[Level4]= "Alt Number";
600 };
601 };
602
603 xkb_compatibility "complete" {
604
605 virtual_modifiers NumLock,Alt,LevelThree,LAlt,RAlt,RControl,LControl,ScrollLock,LevelFive,AltGr,Meta,Super,Hyper;
606
607 interpret.useModMapMods= AnyLevel;
608 interpret.repeat= False;
609 interpret.locking= False;
610 interpret ISO_Level2_Latch+Exactly(Shift) {
611 useModMapMods=level1;
612 action= LatchMods(modifiers=Shift,clearLocks,latchToLock);
613 };
614 interpret Shift_Lock+AnyOf(Shift+Lock) {
615 action= LockMods(modifiers=Shift);
616 };
617 interpret Num_Lock+AnyOf(all) {
618 virtualModifier= NumLock;
619 action= LockMods(modifiers=NumLock);
620 };
621 interpret ISO_Level3_Shift+AnyOf(all) {
622 virtualModifier= LevelThree;
623 useModMapMods=level1;
624 action= SetMods(modifiers=LevelThree,clearLocks);
625 };
626 interpret ISO_Level3_Latch+AnyOf(all) {
627 virtualModifier= LevelThree;
628 useModMapMods=level1;
629 action= LatchMods(modifiers=LevelThree,clearLocks,latchToLock);
630 };
631 interpret ISO_Level3_Lock+AnyOf(all) {
632 virtualModifier= LevelThree;
633 useModMapMods=level1;
634 action= LockMods(modifiers=LevelThree);
635 };
636 interpret Alt_L+AnyOf(all) {
637 virtualModifier= Alt;
638 action= SetMods(modifiers=modMapMods,clearLocks);
639 };
640 interpret Alt_R+AnyOf(all) {
641 virtualModifier= Alt;
642 action= SetMods(modifiers=modMapMods,clearLocks);
643 };
644 interpret Meta_L+AnyOf(all) {
645 virtualModifier= Meta;
646 action= SetMods(modifiers=modMapMods,clearLocks);
647 };
648 interpret Meta_R+AnyOf(all) {
649 virtualModifier= Meta;
650 action= SetMods(modifiers=modMapMods,clearLocks);
651 };
652 interpret Super_L+AnyOf(all) {
653 virtualModifier= Super;
654 action= SetMods(modifiers=modMapMods,clearLocks);
655 };
656 interpret Super_R+AnyOf(all) {
657 virtualModifier= Super;
658 action= SetMods(modifiers=modMapMods,clearLocks);
659 };
660 interpret Hyper_L+AnyOf(all) {
661 virtualModifier= Hyper;
662 action= SetMods(modifiers=modMapMods,clearLocks);
663 };
664 interpret Hyper_R+AnyOf(all) {
665 virtualModifier= Hyper;
666 action= SetMods(modifiers=modMapMods,clearLocks);
667 };
668 interpret Scroll_Lock+AnyOf(all) {
669 virtualModifier= ScrollLock;
670 action= LockMods(modifiers=modMapMods);
671 };
672 interpret ISO_Level5_Shift+AnyOf(all) {
673 virtualModifier= LevelFive;
674 useModMapMods=level1;
675 action= SetMods(modifiers=LevelFive,clearLocks);
676 };
677 interpret ISO_Level5_Latch+AnyOf(all) {
678 virtualModifier= LevelFive;
679 useModMapMods=level1;
680 action= LatchMods(modifiers=LevelFive,clearLocks,latchToLock);
681 };
682 interpret ISO_Level5_Lock+AnyOf(all) {
683 virtualModifier= LevelFive;
684 useModMapMods=level1;
685 action= LockMods(modifiers=LevelFive);
686 };
687 interpret Mode_switch+AnyOfOrNone(all) {
688 virtualModifier= AltGr;
689 useModMapMods=level1;
690 action= SetGroup(group=+1);
691 };
692 interpret ISO_Level3_Shift+AnyOfOrNone(all) {
693 action= SetMods(modifiers=LevelThree,clearLocks);
694 };
695 interpret ISO_Level3_Latch+AnyOfOrNone(all) {
696 action= LatchMods(modifiers=LevelThree,clearLocks,latchToLock);
697 };
698 interpret ISO_Level3_Lock+AnyOfOrNone(all) {
699 action= LockMods(modifiers=LevelThree);
700 };
701 interpret ISO_Group_Latch+AnyOfOrNone(all) {
702 virtualModifier= AltGr;
703 useModMapMods=level1;
704 action= LatchGroup(group=2);
705 };
706 interpret ISO_Next_Group+AnyOfOrNone(all) {
707 virtualModifier= AltGr;
708 useModMapMods=level1;
709 action= LockGroup(group=+1);
710 };
711 interpret ISO_Prev_Group+AnyOfOrNone(all) {
712 virtualModifier= AltGr;
713 useModMapMods=level1;
714 action= LockGroup(group=-1);
715 };
716 interpret ISO_First_Group+AnyOfOrNone(all) {
717 action= LockGroup(group=1);
718 };
719 interpret ISO_Last_Group+AnyOfOrNone(all) {
720 action= LockGroup(group=2);
721 };
722 interpret KP_1+AnyOfOrNone(all) {
723 repeat= True;
724 action= MovePtr(x=-1,y=+1);
725 };
726 interpret KP_End+AnyOfOrNone(all) {
727 repeat= True;
728 action= MovePtr(x=-1,y=+1);
729 };
730 interpret KP_2+AnyOfOrNone(all) {
731 repeat= True;
732 action= MovePtr(x=+0,y=+1);
733 };
734 interpret KP_Down+AnyOfOrNone(all) {
735 repeat= True;
736 action= MovePtr(x=+0,y=+1);
737 };
738 interpret KP_3+AnyOfOrNone(all) {
739 repeat= True;
740 action= MovePtr(x=+1,y=+1);
741 };
742 interpret KP_Next+AnyOfOrNone(all) {
743 repeat= True;
744 action= MovePtr(x=+1,y=+1);
745 };
746 interpret KP_4+AnyOfOrNone(all) {
747 repeat= True;
748 action= MovePtr(x=-1,y=+0);
749 };
750 interpret KP_Left+AnyOfOrNone(all) {
751 repeat= True;
752 action= MovePtr(x=-1,y=+0);
753 };
754 interpret KP_6+AnyOfOrNone(all) {
755 repeat= True;
756 action= MovePtr(x=+1,y=+0);
757 };
758 interpret KP_Right+AnyOfOrNone(all) {
759 repeat= True;
760 action= MovePtr(x=+1,y=+0);
761 };
762 interpret KP_7+AnyOfOrNone(all) {
763 repeat= True;
764 action= MovePtr(x=-1,y=-1);
765 };
766 interpret KP_Home+AnyOfOrNone(all) {
767 repeat= True;
768 action= MovePtr(x=-1,y=-1);
769 };
770 interpret KP_8+AnyOfOrNone(all) {
771 repeat= True;
772 action= MovePtr(x=+0,y=-1);
773 };
774 interpret KP_Up+AnyOfOrNone(all) {
775 repeat= True;
776 action= MovePtr(x=+0,y=-1);
777 };
778 interpret KP_9+AnyOfOrNone(all) {
779 repeat= True;
780 action= MovePtr(x=+1,y=-1);
781 };
782 interpret KP_Prior+AnyOfOrNone(all) {
783 repeat= True;
784 action= MovePtr(x=+1,y=-1);
785 };
786 interpret KP_5+AnyOfOrNone(all) {
787 repeat= True;
788 action= PtrBtn(button=default);
789 };
790 interpret KP_Begin+AnyOfOrNone(all) {
791 repeat= True;
792 action= PtrBtn(button=default);
793 };
794 interpret KP_F2+AnyOfOrNone(all) {
795 repeat= True;
796 action= SetPtrDflt(affect=button,button=1);
797 };
798 interpret KP_Divide+AnyOfOrNone(all) {
799 repeat= True;
800 action= SetPtrDflt(affect=button,button=1);
801 };
802 interpret KP_F3+AnyOfOrNone(all) {
803 repeat= True;
804 action= SetPtrDflt(affect=button,button=2);
805 };
806 interpret KP_Multiply+AnyOfOrNone(all) {
807 repeat= True;
808 action= SetPtrDflt(affect=button,button=2);
809 };
810 interpret KP_F4+AnyOfOrNone(all) {
811 repeat= True;
812 action= SetPtrDflt(affect=button,button=3);
813 };
814 interpret KP_Subtract+AnyOfOrNone(all) {
815 repeat= True;
816 action= SetPtrDflt(affect=button,button=3);
817 };
818 interpret KP_Separator+AnyOfOrNone(all) {
819 repeat= True;
820 action= PtrBtn(button=default,count=2);
821 };
822 interpret KP_Add+AnyOfOrNone(all) {
823 repeat= True;
824 action= PtrBtn(button=default,count=2);
825 };
826 interpret KP_0+AnyOfOrNone(all) {
827 repeat= True;
828 action= LockPtrBtn(button=default,affect=lock);
829 };
830 interpret KP_Insert+AnyOfOrNone(all) {
831 repeat= True;
832 action= LockPtrBtn(button=default,affect=lock);
833 };
834 interpret KP_Decimal+AnyOfOrNone(all) {
835 repeat= True;
836 action= LockPtrBtn(button=default,affect=unlock);
837 };
838 interpret KP_Delete+AnyOfOrNone(all) {
839 repeat= True;
840 action= LockPtrBtn(button=default,affect=unlock);
841 };
842 interpret F25+AnyOfOrNone(all) {
843 repeat= True;
844 action= SetPtrDflt(affect=button,button=1);
845 };
846 interpret F26+AnyOfOrNone(all) {
847 repeat= True;
848 action= SetPtrDflt(affect=button,button=2);
849 };
850 interpret F27+AnyOfOrNone(all) {
851 repeat= True;
852 action= MovePtr(x=-1,y=-1);
853 };
854 interpret F29+AnyOfOrNone(all) {
855 repeat= True;
856 action= MovePtr(x=+1,y=-1);
857 };
858 interpret F31+AnyOfOrNone(all) {
859 repeat= True;
860 action= PtrBtn(button=default);
861 };
862 interpret F33+AnyOfOrNone(all) {
863 repeat= True;
864 action= MovePtr(x=-1,y=+1);
865 };
866 interpret F35+AnyOfOrNone(all) {
867 repeat= True;
868 action= MovePtr(x=+1,y=+1);
869 };
870 interpret Pointer_Button_Dflt+AnyOfOrNone(all) {
871 action= PtrBtn(button=default);
872 };
873 interpret Pointer_Button1+AnyOfOrNone(all) {
874 action= PtrBtn(button=1);
875 };
876 interpret Pointer_Button2+AnyOfOrNone(all) {
877 action= PtrBtn(button=2);
878 };
879 interpret Pointer_Button3+AnyOfOrNone(all) {
880 action= PtrBtn(button=3);
881 };
882 interpret Pointer_DblClick_Dflt+AnyOfOrNone(all) {
883 action= PtrBtn(button=default,count=2);
884 };
885 interpret Pointer_DblClick1+AnyOfOrNone(all) {
886 action= PtrBtn(button=1,count=2);
887 };
888 interpret Pointer_DblClick2+AnyOfOrNone(all) {
889 action= PtrBtn(button=2,count=2);
890 };
891 interpret Pointer_DblClick3+AnyOfOrNone(all) {
892 action= PtrBtn(button=3,count=2);
893 };
894 interpret Pointer_Drag_Dflt+AnyOfOrNone(all) {
895 action= LockPtrBtn(button=default,affect=both);
896 };
897 interpret Pointer_Drag1+AnyOfOrNone(all) {
898 action= LockPtrBtn(button=1,affect=both);
899 };
900 interpret Pointer_Drag2+AnyOfOrNone(all) {
901 action= LockPtrBtn(button=2,affect=both);
902 };
903 interpret Pointer_Drag3+AnyOfOrNone(all) {
904 action= LockPtrBtn(button=3,affect=both);
905 };
906 interpret Pointer_EnableKeys+AnyOfOrNone(all) {
907 action= LockControls(controls=MouseKeys);
908 };
909 interpret Pointer_Accelerate+AnyOfOrNone(all) {
910 action= LockControls(controls=MouseKeysAccel);
911 };
912 interpret Pointer_DfltBtnNext+AnyOfOrNone(all) {
913 action= SetPtrDflt(affect=button,button=+1);
914 };
915 interpret Pointer_DfltBtnPrev+AnyOfOrNone(all) {
916 action= SetPtrDflt(affect=button,button=-1);
917 };
918 interpret AccessX_Enable+AnyOfOrNone(all) {
919 action= LockControls(controls=AccessXKeys);
920 };
921 interpret AccessX_Feedback_Enable+AnyOfOrNone(all) {
922 action= LockControls(controls=AccessXFeedback);
923 };
924 interpret RepeatKeys_Enable+AnyOfOrNone(all) {
925 action= LockControls(controls=RepeatKeys);
926 };
927 interpret SlowKeys_Enable+AnyOfOrNone(all) {
928 action= LockControls(controls=SlowKeys);
929 };
930 interpret BounceKeys_Enable+AnyOfOrNone(all) {
931 action= LockControls(controls=BounceKeys);
932 };
933 interpret StickyKeys_Enable+AnyOfOrNone(all) {
934 action= LockControls(controls=StickyKeys);
935 };
936 interpret MouseKeys_Enable+AnyOfOrNone(all) {
937 action= LockControls(controls=MouseKeys);
938 };
939 interpret MouseKeys_Accel_Enable+AnyOfOrNone(all) {
940 action= LockControls(controls=MouseKeysAccel);
941 };
942 interpret Overlay1_Enable+AnyOfOrNone(all) {
943 action= LockControls(controls=Overlay1);
944 };
945 interpret Overlay2_Enable+AnyOfOrNone(all) {
946 action= LockControls(controls=Overlay2);
947 };
948 interpret AudibleBell_Enable+AnyOfOrNone(all) {
949 action= LockControls(controls=AudibleBell);
950 };
951 interpret Terminate_Server+AnyOfOrNone(all) {
952 action= Terminate();
953 };
954 interpret Alt_L+AnyOfOrNone(all) {
955 action= SetMods(modifiers=Alt,clearLocks);
956 };
957 interpret Alt_R+AnyOfOrNone(all) {
958 action= SetMods(modifiers=Alt,clearLocks);
959 };
960 interpret Meta_L+AnyOfOrNone(all) {
961 action= SetMods(modifiers=Meta,clearLocks);
962 };
963 interpret Meta_R+AnyOfOrNone(all) {
964 action= SetMods(modifiers=Meta,clearLocks);
965 };
966 interpret Super_L+AnyOfOrNone(all) {
967 action= SetMods(modifiers=Super,clearLocks);
968 };
969 interpret Super_R+AnyOfOrNone(all) {
970 action= SetMods(modifiers=Super,clearLocks);
971 };
972 interpret Hyper_L+AnyOfOrNone(all) {
973 action= SetMods(modifiers=Hyper,clearLocks);
974 };
975 interpret Hyper_R+AnyOfOrNone(all) {
976 action= SetMods(modifiers=Hyper,clearLocks);
977 };
978 interpret Shift_L+AnyOfOrNone(all) {
979 action= SetMods(modifiers=Shift,clearLocks);
980 };
981 interpret XF86Switch_VT_1+AnyOfOrNone(all) {
982 repeat= True;
983 action= SwitchScreen(screen=1,!same);
984 };
985 interpret XF86Switch_VT_2+AnyOfOrNone(all) {
986 repeat= True;
987 action= SwitchScreen(screen=2,!same);
988 };
989 interpret XF86Switch_VT_3+AnyOfOrNone(all) {
990 repeat= True;
991 action= SwitchScreen(screen=3,!same);
992 };
993 interpret XF86Switch_VT_4+AnyOfOrNone(all) {
994 repeat= True;
995 action= SwitchScreen(screen=4,!same);
996 };
997 interpret XF86Switch_VT_5+AnyOfOrNone(all) {
998 repeat= True;
999 action= SwitchScreen(screen=5,!same);
1000 };
1001 interpret XF86Switch_VT_6+AnyOfOrNone(all) {
1002 repeat= True;
1003 action= SwitchScreen(screen=6,!same);
1004 };
1005 interpret XF86Switch_VT_7+AnyOfOrNone(all) {
1006 repeat= True;
1007 action= SwitchScreen(screen=7,!same);
1008 };
1009 interpret XF86Switch_VT_8+AnyOfOrNone(all) {
1010 repeat= True;
1011 action= SwitchScreen(screen=8,!same);
1012 };
1013 interpret XF86Switch_VT_9+AnyOfOrNone(all) {
1014 repeat= True;
1015 action= SwitchScreen(screen=9,!same);
1016 };
1017 interpret XF86Switch_VT_10+AnyOfOrNone(all) {
1018 repeat= True;
1019 action= SwitchScreen(screen=10,!same);
1020 };
1021 interpret XF86Switch_VT_11+AnyOfOrNone(all) {
1022 repeat= True;
1023 action= SwitchScreen(screen=11,!same);
1024 };
1025 interpret XF86Switch_VT_12+AnyOfOrNone(all) {
1026 repeat= True;
1027 action= SwitchScreen(screen=12,!same);
1028 };
1029 interpret XF86LogGrabInfo+AnyOfOrNone(all) {
1030 repeat= True;
1031 action= Private(type=0x86,data[0]=0x50,data[1]=0x72,data[2]=0x47,data[3]=0x72,data[4]=0x62,data[5]=0x73,data[6]=0x00);
1032 };
1033 interpret XF86LogWindowTree+AnyOfOrNone(all) {
1034 repeat= True;
1035 action= Private(type=0x86,data[0]=0x50,data[1]=0x72,data[2]=0x57,data[3]=0x69,data[4]=0x6e,data[5]=0x73,data[6]=0x00);
1036 };
1037 interpret XF86Next_VMode+AnyOfOrNone(all) {
1038 repeat= True;
1039 action= Private(type=0x86,data[0]=0x2b,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00);
1040 };
1041 interpret XF86Prev_VMode+AnyOfOrNone(all) {
1042 repeat= True;
1043 action= Private(type=0x86,data[0]=0x2d,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00);
1044 };
1045 interpret ISO_Level5_Shift+AnyOfOrNone(all) {
1046 action= SetMods(modifiers=LevelFive,clearLocks);
1047 };
1048 interpret ISO_Level5_Latch+AnyOfOrNone(all) {
1049 action= LatchMods(modifiers=LevelFive,clearLocks,latchToLock);
1050 };
1051 interpret ISO_Level5_Lock+AnyOfOrNone(all) {
1052 action= LockMods(modifiers=LevelFive);
1053 };
1054 interpret Caps_Lock+AnyOfOrNone(all) {
1055 action= LockMods(modifiers=Lock);
1056 };
1057 interpret Any+Exactly(Lock) {
1058 action= LockMods(modifiers=Lock);
1059 };
1060 interpret Any+AnyOf(all) {
1061 action= SetMods(modifiers=modMapMods,clearLocks);
1062 };
1063 group 2 = AltGr;
1064 group 3 = AltGr;
1065 group 4 = AltGr;
1066 indicator "Caps Lock" {
1067 !allowExplicit;
1068 whichModState= locked;
1069 modifiers= Lock;
1070 };
1071 indicator "Num Lock" {
1072 !allowExplicit;
1073 whichModState= locked;
1074 modifiers= NumLock;
1075 };
1076 indicator "Scroll Lock" {
1077 whichModState= locked;
1078 modifiers= ScrollLock;
1079 };
1080 indicator "Shift Lock" {
1081 !allowExplicit;
1082 whichModState= locked;
1083 modifiers= Shift;
1084 };
1085 indicator "Group 2" {
1086 !allowExplicit;
1087 groups= 0xfe;
1088 };
1089 indicator "Mouse Keys" {
1090 indicatorDrivesKeyboard;
1091 controls= mouseKeys;
1092 };
1093 };
1094
1095 xkb_symbols "pc+us+inet(evdev)" {
1096
1097 name[group1]="English (US)";
1098
1099 key <ESC> { [ Escape ] };
1100 key <AE01> { [ 1, exclam ] };
1101 key <AE02> { [ 2, at ] };
1102 key <AE03> { [ 3, numbersign ] };
1103 key <AE04> { [ 4, dollar ] };
1104 key <AE05> { [ 5, percent ] };
1105 key <AE06> { [ 6, asciicircum ] };
1106 key <AE07> { [ 7, ampersand ] };
1107 key <AE08> { [ 8, asterisk ] };
1108 key <AE09> { [ 9, parenleft ] };
1109 key <AE10> { [ 0, parenright ] };
1110 key <AE11> { [ minus, underscore ] };
1111 key <AE12> { [ equal, plus ] };
1112 key <BKSP> { [ BackSpace, BackSpace ] };
1113 key <TAB> { [ Tab, ISO_Left_Tab ] };
1114 key <AD01> {
1115 type= "ALPHABETIC",
1116 symbols[Group1]= [ q, Q ]
1117 };
1118 key <AD02> {
1119 type= "ALPHABETIC",
1120 symbols[Group1]= [ w, W ]
1121 };
1122 key <AD03> {
1123 type= "ALPHABETIC",
1124 symbols[Group1]= [ e, E ]
1125 };
1126 key <AD04> {
1127 type= "ALPHABETIC",
1128 symbols[Group1]= [ r, R ]
1129 };
1130 key <AD05> {
1131 type= "ALPHABETIC",
1132 symbols[Group1]= [ t, T ]
1133 };
1134 key <AD06> {
1135 type= "ALPHABETIC",
1136 symbols[Group1]= [ y, Y ]
1137 };
1138 key <AD07> {
1139 type= "ALPHABETIC",
1140 symbols[Group1]= [ u, U ]
1141 };
1142 key <AD08> {
1143 type= "ALPHABETIC",
1144 symbols[Group1]= [ i, I ]
1145 };
1146 key <AD09> {
1147 type= "ALPHABETIC",
1148 symbols[Group1]= [ o, O ]
1149 };
1150 key <AD10> {
1151 type= "ALPHABETIC",
1152 symbols[Group1]= [ p, P ]
1153 };
1154 key <AD11> { [ bracketleft, braceleft ] };
1155 key <AD12> { [ bracketright, braceright ] };
1156 key <RTRN> { [ Return ] };
1157 key <LCTL> { [ Control_L ] };
1158 key <AC01> {
1159 type= "ALPHABETIC",
1160 symbols[Group1]= [ a, A ]
1161 };
1162 key <AC02> {
1163 type= "ALPHABETIC",
1164 symbols[Group1]= [ s, S ]
1165 };
1166 key <AC03> {
1167 type= "ALPHABETIC",
1168 symbols[Group1]= [ d, D ]
1169 };
1170 key <AC04> {
1171 type= "ALPHABETIC",
1172 symbols[Group1]= [ f, F ]
1173 };
1174 key <AC05> {
1175 type= "ALPHABETIC",
1176 symbols[Group1]= [ g, G ]
1177 };
1178 key <AC06> {
1179 type= "ALPHABETIC",
1180 symbols[Group1]= [ h, H ]
1181 };
1182 key <AC07> {
1183 type= "ALPHABETIC",
1184 symbols[Group1]= [ j, J ]
1185 };
1186 key <AC08> {
1187 type= "ALPHABETIC",
1188 symbols[Group1]= [ k, K ]
1189 };
1190 key <AC09> {
1191 type= "ALPHABETIC",
1192 symbols[Group1]= [ l, L ]
1193 };
1194 key <AC10> { [ semicolon, colon ] };
1195 key <AC11> { [ apostrophe, quotedbl ] };
1196 key <TLDE> { [ grave, asciitilde ] };
1197 key <LFSH> { [ Shift_L ] };
1198 key <BKSL> { [ backslash, bar ] };
1199 key <AB01> {
1200 type= "ALPHABETIC",
1201 symbols[Group1]= [ z, Z ]
1202 };
1203 key <AB02> {
1204 type= "ALPHABETIC",
1205 symbols[Group1]= [ x, X ]
1206 };
1207 key <AB03> {
1208 type= "ALPHABETIC",
1209 symbols[Group1]= [ c, C ]
1210 };
1211 key <AB04> {
1212 type= "ALPHABETIC",
1213 symbols[Group1]= [ v, V ]
1214 };
1215 key <AB05> {
1216 type= "ALPHABETIC",
1217 symbols[Group1]= [ b, B ]
1218 };
1219 key <AB06> {
1220 type= "ALPHABETIC",
1221 symbols[Group1]= [ n, N ]
1222 };
1223 key <AB07> {
1224 type= "ALPHABETIC",
1225 symbols[Group1]= [ m, M ]
1226 };
1227 key <AB08> { [ comma, less ] };
1228 key <AB09> { [ period, greater ] };
1229 key <AB10> { [ slash, question ] };
1230 key <RTSH> { [ Shift_R ] };
1231 key <KPMU> {
1232 type= "CTRL+ALT",
1233 symbols[Group1]= [ KP_Multiply, KP_Multiply, KP_Multiply, KP_Multiply, XF86ClearGrab ]
1234 };
1235 key <LALT> { [ Alt_L, Meta_L ] };
1236 key <SPCE> { [ space ] };
1237 key <CAPS> { [ Caps_Lock ] };
1238 key <FK01> {
1239 type= "CTRL+ALT",
1240 symbols[Group1]= [ F1, F1, F1, F1, XF86Switch_VT_1 ]
1241 };
1242 key <FK02> {
1243 type= "CTRL+ALT",
1244 symbols[Group1]= [ F2, F2, F2, F2, XF86Switch_VT_2 ]
1245 };
1246 key <FK03> {
1247 type= "CTRL+ALT",
1248 symbols[Group1]= [ F3, F3, F3, F3, XF86Switch_VT_3 ]
1249 };
1250 key <FK04> {
1251 type= "CTRL+ALT",
1252 symbols[Group1]= [ F4, F4, F4, F4, XF86Switch_VT_4 ]
1253 };
1254 key <FK05> {
1255 type= "CTRL+ALT",
1256 symbols[Group1]= [ F5, F5, F5, F5, XF86Switch_VT_5 ]
1257 };
1258 key <FK06> {
1259 type= "CTRL+ALT",
1260 symbols[Group1]= [ F6, F6, F6, F6, XF86Switch_VT_6 ]
1261 };
1262 key <FK07> {
1263 type= "CTRL+ALT",
1264 symbols[Group1]= [ F7, F7, F7, F7, XF86Switch_VT_7 ]
1265 };
1266 key <FK08> {
1267 type= "CTRL+ALT",
1268 symbols[Group1]= [ F8, F8, F8, F8, XF86Switch_VT_8 ]
1269 };
1270 key <FK09> {
1271 type= "CTRL+ALT",
1272 symbols[Group1]= [ F9, F9, F9, F9, XF86Switch_VT_9 ]
1273 };
1274 key <FK10> {
1275 type= "CTRL+ALT",
1276 symbols[Group1]= [ F10, F10, F10, F10, XF86Switch_VT_10 ]
1277 };
1278 key <NMLK> { [ Num_Lock ] };
1279 key <SCLK> { [ Scroll_Lock ] };
1280 key <KP7> { [ KP_Home, KP_7 ] };
1281 key <KP8> { [ KP_Up, KP_8 ] };
1282 key <KP9> { [ KP_Prior, KP_9 ] };
1283 key <KPSU> {
1284 type= "CTRL+ALT",
1285 symbols[Group1]= [ KP_Subtract, KP_Subtract, KP_Subtract, KP_Subtract, XF86Prev_VMode ]
1286 };
1287 key <KP4> { [ KP_Left, KP_4 ] };
1288 key <KP5> { [ KP_Begin, KP_5 ] };
1289 key <KP6> { [ KP_Right, KP_6 ] };
1290 key <KPAD> {
1291 type= "CTRL+ALT",
1292 symbols[Group1]= [ KP_Add, KP_Add, KP_Add, KP_Add, XF86Next_VMode ]
1293 };
1294 key <KP1> { [ KP_End, KP_1 ] };
1295 key <KP2> { [ KP_Down, KP_2 ] };
1296 key <KP3> { [ KP_Next, KP_3 ] };
1297 key <KP0> { [ KP_Insert, KP_0 ] };
1298 key <KPDL> { [ KP_Delete, KP_Decimal ] };
1299 key <LVL3> { [ ISO_Level3_Shift ] };
1300 key <LSGT> {
1301 type= "FOUR_LEVEL",
1302 symbols[Group1]= [ less, greater, bar, brokenbar ]
1303 };
1304 key <FK11> {
1305 type= "CTRL+ALT",
1306 symbols[Group1]= [ F11, F11, F11, F11, XF86Switch_VT_11 ]
1307 };
1308 key <FK12> {
1309 type= "CTRL+ALT",
1310 symbols[Group1]= [ F12, F12, F12, F12, XF86Switch_VT_12 ]
1311 };
1312 key <KATA> { [ Katakana ] };
1313 key <HIRA> { [ Hiragana ] };
1314 key <HENK> { [ Henkan_Mode ] };
1315 key <HKTG> { [ Hiragana_Katakana ] };
1316 key <MUHE> { [ Muhenkan ] };
1317 key <KPEN> { [ KP_Enter ] };
1318 key <RCTL> { [ Control_R ] };
1319 key <KPDV> {
1320 type= "CTRL+ALT",
1321 symbols[Group1]= [ KP_Divide, KP_Divide, KP_Divide, KP_Divide, XF86Ungrab ]
1322 };
1323 key <PRSC> {
1324 type= "PC_ALT_LEVEL2",
1325 symbols[Group1]= [ Print, Sys_Req ]
1326 };
1327 key <RALT> {
1328 type= "TWO_LEVEL",
1329 symbols[Group1]= [ Alt_R, Meta_R ]
1330 };
1331 key <LNFD> { [ Linefeed ] };
1332 key <HOME> { [ Home ] };
1333 key <UP> { [ Up ] };
1334 key <PGUP> { [ Prior ] };
1335 key <LEFT> { [ Left ] };
1336 key <RGHT> { [ Right ] };
1337 key <END> { [ End ] };
1338 key <DOWN> { [ Down ] };
1339 key <PGDN> { [ Next ] };
1340 key <INS> { [ Insert ] };
1341 key <DELE> { [ Delete ] };
1342 key <MUTE> { [ XF86AudioMute ] };
1343 key <VOL-> { [ XF86AudioLowerVolume ] };
1344 key <VOL+> { [ XF86AudioRaiseVolume ] };
1345 key <POWR> { [ XF86PowerOff ] };
1346 key <KPEQ> { [ KP_Equal ] };
1347 key <I126> { [ plusminus ] };
1348 key <PAUS> {
1349 type= "PC_CONTROL_LEVEL2",
1350 symbols[Group1]= [ Pause, Break ]
1351 };
1352 key <I128> { [ XF86LaunchA ] };
1353 key <I129> { [ KP_Decimal, KP_Decimal ] };
1354 key <HNGL> { [ Hangul ] };
1355 key <HJCV> { [ Hangul_Hanja ] };
1356 key <LWIN> { [ Super_L ] };
1357 key <RWIN> { [ Super_R ] };
1358 key <COMP> { [ Menu ] };
1359 key <STOP> { [ Cancel ] };
1360 key <AGAI> { [ Redo ] };
1361 key <PROP> { [ SunProps ] };
1362 key <UNDO> { [ Undo ] };
1363 key <FRNT> { [ SunFront ] };
1364 key <COPY> { [ XF86Copy ] };
1365 key <OPEN> { [ XF86Open ] };
1366 key <PAST> { [ XF86Paste ] };
1367 key <FIND> { [ Find ] };
1368 key <CUT> { [ XF86Cut ] };
1369 key <HELP> { [ Help ] };
1370 key <I147> { [ XF86MenuKB ] };
1371 key <I148> { [ XF86Calculator ] };
1372 key <I150> { [ XF86Sleep ] };
1373 key <I151> { [ XF86WakeUp ] };
1374 key <I152> { [ XF86Explorer ] };
1375 key <I153> { [ XF86Send ] };
1376 key <I155> { [ XF86Xfer ] };
1377 key <I156> { [ XF86Launch1 ] };
1378 key <I157> { [ XF86Launch2 ] };
1379 key <I158> { [ XF86WWW ] };
1380 key <I159> { [ XF86DOS ] };
1381 key <I160> { [ XF86ScreenSaver ] };
1382 key <I161> { [ XF86RotateWindows ] };
1383 key <I162> { [ XF86TaskPane ] };
1384 key <I163> { [ XF86Mail ] };
1385 key <I164> { [ XF86Favorites ] };
1386 key <I165> { [ XF86MyComputer ] };
1387 key <I166> { [ XF86Back ] };
1388 key <I167> { [ XF86Forward ] };
1389 key <I169> { [ XF86Eject ] };
1390 key <I170> { [ XF86Eject, XF86Eject ] };
1391 key <I171> { [ XF86AudioNext ] };
1392 key <I172> { [ XF86AudioPlay, XF86AudioPause ] };
1393 key <I173> { [ XF86AudioPrev ] };
1394 key <I174> { [ XF86AudioStop, XF86Eject ] };
1395 key <I175> { [ XF86AudioRecord ] };
1396 key <I176> { [ XF86AudioRewind ] };
1397 key <I177> { [ XF86Phone ] };
1398 key <I179> { [ XF86Tools ] };
1399 key <I180> { [ XF86HomePage ] };
1400 key <I181> { [ XF86Reload ] };
1401 key <I182> { [ XF86Close ] };
1402 key <I185> { [ XF86ScrollUp ] };
1403 key <I186> { [ XF86ScrollDown ] };
1404 key <I187> { [ parenleft ] };
1405 key <I188> { [ parenright ] };
1406 key <I189> { [ XF86New ] };
1407 key <I190> { [ Redo ] };
1408 key <FK13> { [ XF86Tools ] };
1409 key <FK14> { [ XF86Launch5 ] };
1410 key <FK15> { [ XF86Launch6 ] };
1411 key <FK16> { [ XF86Launch7 ] };
1412 key <FK17> { [ XF86Launch8 ] };
1413 key <FK18> { [ XF86Launch9 ] };
1414 key <FK20> { [ XF86AudioMicMute ] };
1415 key <FK21> { [ XF86TouchpadToggle ] };
1416 key <FK22> { [ XF86TouchpadOn ] };
1417 key <FK23> { [ XF86TouchpadOff ] };
1418 key <MDSW> { [ Mode_switch ] };
1419 key <ALT> { [ NoSymbol, Alt_L ] };
1420 key <META> { [ NoSymbol, Meta_L ] };
1421 key <SUPR> { [ NoSymbol, Super_L ] };
1422 key <HYPR> { [ NoSymbol, Hyper_L ] };
1423 key <I208> { [ XF86AudioPlay ] };
1424 key <I209> { [ XF86AudioPause ] };
1425 key <I210> { [ XF86Launch3 ] };
1426 key <I211> { [ XF86Launch4 ] };
1427 key <I212> { [ XF86LaunchB ] };
1428 key <I213> { [ XF86Suspend ] };
1429 key <I214> { [ XF86Close ] };
1430 key <I215> { [ XF86AudioPlay ] };
1431 key <I216> { [ XF86AudioForward ] };
1432 key <I218> { [ Print ] };
1433 key <I220> { [ XF86WebCam ] };
1434 key <I223> { [ XF86Mail ] };
1435 key <I224> { [ XF86Messenger ] };
1436 key <I225> { [ XF86Search ] };
1437 key <I226> { [ XF86Go ] };
1438 key <I227> { [ XF86Finance ] };
1439 key <I228> { [ XF86Game ] };
1440 key <I229> { [ XF86Shop ] };
1441 key <I231> { [ Cancel ] };
1442 key <I232> { [ XF86MonBrightnessDown ] };
1443 key <I233> { [ XF86MonBrightnessUp ] };
1444 key <I234> { [ XF86AudioMedia ] };
1445 key <I235> { [ XF86Display ] };
1446 key <I236> { [ XF86KbdLightOnOff ] };
1447 key <I237> { [ XF86KbdBrightnessDown ] };
1448 key <I238> { [ XF86KbdBrightnessUp ] };
1449 key <I239> { [ XF86Send ] };
1450 key <I240> { [ XF86Reply ] };
1451 key <I241> { [ XF86MailForward ] };
1452 key <I242> { [ XF86Save ] };
1453 key <I243> { [ XF86Documents ] };
1454 key <I244> { [ XF86Battery ] };
1455 key <I245> { [ XF86Bluetooth ] };
1456 key <I246> { [ XF86WLAN ] };
1457 modifier_map Control { <LCTL> };
1458 modifier_map Shift { <LFSH> };
1459 modifier_map Shift { <RTSH> };
1460 modifier_map Mod1 { <LALT> };
1461 modifier_map Lock { <CAPS> };
1462 modifier_map Mod2 { <NMLK> };
1463 modifier_map Mod5 { <LVL3> };
1464 modifier_map Control { <RCTL> };
1465 modifier_map Mod1 { <RALT> };
1466 modifier_map Mod4 { <LWIN> };
1467 modifier_map Mod4 { <RWIN> };
1468 modifier_map Mod5 { <MDSW> };
1469 modifier_map Mod1 { <META> };
1470 modifier_map Mod4 { <SUPR> };
1471 modifier_map Mod4 { <HYPR> };
1472 };
1473
1474 xkb_geometry "pc(pc105)" {
1475
1476 width= 470;
1477 height= 180;
1478
1479 alias <AC00> = <CAPS>;
1480 alias <AA00> = <LCTL>;
1481
1482 baseColor= "white";
1483 labelColor= "black";
1484 xfont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1";
1485 description= "Generic 105";
1486
1487 shape "NORM" {
1488 corner= 1,
1489 { [ 18, 18 ] },
1490 { [ 2, 1 ], [ 16, 16 ] }
1491 };
1492 shape "BKSP" {
1493 corner= 1,
1494 { [ 38, 18 ] },
1495 { [ 2, 1 ], [ 36, 16 ] }
1496 };
1497 shape "TABK" {
1498 corner= 1,
1499 { [ 28, 18 ] },
1500 { [ 2, 1 ], [ 26, 16 ] }
1501 };
1502 shape "BKSL" {
1503 corner= 1,
1504 { [ 28, 18 ] },
1505 { [ 2, 1 ], [ 26, 16 ] }
1506 };
1507 shape "RTRN" {
1508 corner= 1,
1509 { [ 0, 0 ], [ 28, 0 ], [ 28, 37 ], [ 5, 37 ],
1510 [ 5, 18 ], [ 0, 18 ] },
1511 { [ 2, 1 ], [ 26, 1 ], [ 26, 35 ], [ 7, 35 ],
1512 [ 7, 16 ], [ 2, 16 ] },
1513 approx= { [ 5, 0 ], [ 28, 37 ] }
1514 };
1515 shape "CAPS" {
1516 corner= 1,
1517 { [ 33, 18 ] },
1518 { [ 2, 1 ], [ 31, 16 ] }
1519 };
1520 shape "LFSH" {
1521 corner= 1,
1522 { [ 25, 18 ] },
1523 { [ 2, 1 ], [ 23, 16 ] }
1524 };
1525 shape "RTSH" {
1526 corner= 1,
1527 { [ 50, 18 ] },
1528 { [ 2, 1 ], [ 48, 16 ] }
1529 };
1530 shape "MODK" {
1531 corner= 1,
1532 { [ 27, 18 ] },
1533 { [ 2, 1 ], [ 25, 16 ] }
1534 };
1535 shape "SMOD" {
1536 corner= 1,
1537 { [ 23, 18 ] },
1538 { [ 2, 1 ], [ 21, 16 ] }
1539 };
1540 shape "SPCE" {
1541 corner= 1,
1542 { [ 113, 18 ] },
1543 { [ 2, 1 ], [ 111, 16 ] }
1544 };
1545 shape "KP0" {
1546 corner= 1,
1547 { [ 37, 18 ] },
1548 { [ 2, 1 ], [ 35, 16 ] }
1549 };
1550 shape "KPAD" {
1551 corner= 1,
1552 { [ 18, 37 ] },
1553 { [ 2, 1 ], [ 16, 35 ] }
1554 };
1555 shape "LEDS" { { [ 75, 20 ] } };
1556 shape "LED" { { [ 5, 1 ] } };
1557 section "Function" {
1558 key.color= "grey20";
1559 priority= 7;
1560 top= 22;
1561 left= 19;
1562 width= 351;
1563 height= 19;
1564 row {
1565 top= 1;
1566 left= 1;
1567 keys {
1568 { <ESC>, "NORM", 1 },
1569 { <FK01>, "NORM", 20, color="white" },
1570 { <FK02>, "NORM", 1, color="white" },
1571 { <FK03>, "NORM", 1, color="white" },
1572 { <FK04>, "NORM", 1, color="white" },
1573 { <FK05>, "NORM", 11, color="white" },
1574 { <FK06>, "NORM", 1, color="white" },
1575 { <FK07>, "NORM", 1, color="white" },
1576 { <FK08>, "NORM", 1, color="white" },
1577 { <FK09>, "NORM", 11, color="white" },
1578 { <FK10>, "NORM", 1, color="white" },
1579 { <FK11>, "NORM", 1, color="white" },
1580 { <FK12>, "NORM", 1, color="white" },
1581 { <PRSC>, "NORM", 8, color="white" },
1582 { <SCLK>, "NORM", 1, color="white" },
1583 { <PAUS>, "NORM", 1, color="white" }
1584 };
1585 };
1586 }; // End of "Function" section
1587
1588 section "Alpha" {
1589 key.color= "white";
1590 priority= 8;
1591 top= 61;
1592 left= 19;
1593 width= 287;
1594 height= 95;
1595 row {
1596 top= 1;
1597 left= 1;
1598 keys {
1599 { <TLDE>, "NORM", 1 }, { <AE01>, "NORM", 1 },
1600 { <AE02>, "NORM", 1 }, { <AE03>, "NORM", 1 },
1601 { <AE04>, "NORM", 1 }, { <AE05>, "NORM", 1 },
1602 { <AE06>, "NORM", 1 }, { <AE07>, "NORM", 1 },
1603 { <AE08>, "NORM", 1 }, { <AE09>, "NORM", 1 },
1604 { <AE10>, "NORM", 1 }, { <AE11>, "NORM", 1 },
1605 { <AE12>, "NORM", 1 },
1606 { <BKSP>, "BKSP", 1, color="grey20" }
1607 };
1608 };
1609 row {
1610 top= 20;
1611 left= 1;
1612 keys {
1613 { <TAB>, "TABK", 1, color="grey20" },
1614 { <AD01>, "NORM", 1 }, { <AD02>, "NORM", 1 },
1615 { <AD03>, "NORM", 1 }, { <AD04>, "NORM", 1 },
1616 { <AD05>, "NORM", 1 }, { <AD06>, "NORM", 1 },
1617 { <AD07>, "NORM", 1 }, { <AD08>, "NORM", 1 },
1618 { <AD09>, "NORM", 1 }, { <AD10>, "NORM", 1 },
1619 { <AD11>, "NORM", 1 }, { <AD12>, "NORM", 1 },
1620 { <RTRN>, "RTRN", 1, color="grey20" }
1621 };
1622 };
1623 row {
1624 top= 39;
1625 left= 1;
1626 keys {
1627 { <CAPS>, "CAPS", 1, color="grey20" },
1628 { <AC01>, "NORM", 1 }, { <AC02>, "NORM", 1 },
1629 { <AC03>, "NORM", 1 }, { <AC04>, "NORM", 1 },
1630 { <AC05>, "NORM", 1 }, { <AC06>, "NORM", 1 },
1631 { <AC07>, "NORM", 1 }, { <AC08>, "NORM", 1 },
1632 { <AC09>, "NORM", 1 }, { <AC10>, "NORM", 1 },
1633 { <AC11>, "NORM", 1 }, { <BKSL>, "NORM", 1 }
1634 };
1635 };
1636 row {
1637 top= 58;
1638 left= 1;
1639 keys {
1640 { <LFSH>, "LFSH", 1, color="grey20" },
1641 { <LSGT>, "NORM", 1 }, { <AB01>, "NORM", 1 },
1642 { <AB02>, "NORM", 1 }, { <AB03>, "NORM", 1 },
1643 { <AB04>, "NORM", 1 }, { <AB05>, "NORM", 1 },
1644 { <AB06>, "NORM", 1 }, { <AB07>, "NORM", 1 },
1645 { <AB08>, "NORM", 1 }, { <AB09>, "NORM", 1 },
1646 { <AB10>, "NORM", 1 },
1647 { <RTSH>, "RTSH", 1, color="grey20" }
1648 };
1649 };
1650 row {
1651 top= 77;
1652 left= 1;
1653 keys {
1654 { <LCTL>, "MODK", 1, color="grey20" },
1655 { <LWIN>, "SMOD", 1, color="grey20" },
1656 { <LALT>, "SMOD", 1, color="grey20" },
1657 { <SPCE>, "SPCE", 1 },
1658 { <RALT>, "SMOD", 1, color="grey20" },
1659 { <RWIN>, "SMOD", 1, color="grey20" },
1660 { <MENU>, "SMOD", 1, color="grey20" },
1661 { <RCTL>, "SMOD", 1, color="grey20" }
1662 };
1663 };
1664 }; // End of "Alpha" section
1665
1666 section "Editing" {
1667 key.color= "grey20";
1668 priority= 9;
1669 top= 61;
1670 left= 312;
1671 width= 58;
1672 height= 95;
1673 row {
1674 top= 1;
1675 left= 1;
1676 keys {
1677 { <INS>, "NORM", 1 }, { <HOME>, "NORM", 1 },
1678 { <PGUP>, "NORM", 1 }
1679 };
1680 };
1681 row {
1682 top= 20;
1683 left= 1;
1684 keys {
1685 { <DELE>, "NORM", 1 }, { <END>, "NORM", 1 },
1686 { <PGDN>, "NORM", 1 }
1687 };
1688 };
1689 row {
1690 top= 58;
1691 left= 20;
1692 keys {
1693 { <UP>, "NORM", 1 }
1694 };
1695 };
1696 row {
1697 top= 77;
1698 left= 1;
1699 keys {
1700 { <LEFT>, "NORM", 1 }, { <DOWN>, "NORM", 1 },
1701 { <RGHT>, "NORM", 1 }
1702 };
1703 };
1704 }; // End of "Editing" section
1705
1706 section "Keypad" {
1707 key.color= "grey20";
1708 priority= 10;
1709 top= 61;
1710 left= 376;
1711 width= 77;
1712 height= 95;
1713 row {
1714 top= 1;
1715 left= 1;
1716 keys {
1717 { <NMLK>, "NORM", 1 }, { <KPDV>, "NORM", 1 },
1718 { <KPMU>, "NORM", 1 }, { <KPSU>, "NORM", 1 }
1719 };
1720 };
1721 row {
1722 top= 20;
1723 left= 1;
1724 keys {
1725 { <KP7>, "NORM", 1, color="white" },
1726 { <KP8>, "NORM", 1, color="white" },
1727 { <KP9>, "NORM", 1, color="white" },
1728 { <KPAD>, "KPAD", 1 }
1729 };
1730 };
1731 row {
1732 top= 39;
1733 left= 1;
1734 keys {
1735 { <KP4>, "NORM", 1, color="white" },
1736 { <KP5>, "NORM", 1, color="white" },
1737 { <KP6>, "NORM", 1, color="white" }
1738 };
1739 };
1740 row {
1741 top= 58;
1742 left= 1;
1743 keys {
1744 { <KP1>, "NORM", 1, color="white" },
1745 { <KP2>, "NORM", 1, color="white" },
1746 { <KP3>, "NORM", 1, color="white" },
1747 { <KPEN>, "KPAD", 1 }
1748 };
1749 };
1750 row {
1751 top= 77;
1752 left= 1;
1753 keys {
1754 { <KP0>, "KP0", 1, color="white" },
1755 { <KPDL>, "NORM", 1, color="white" }
1756 };
1757 };
1758 }; // End of "Keypad" section
1759
1760 solid "LedPanel" {
1761 top= 22;
1762 left= 377;
1763 priority= 0;
1764 color= "grey10";
1765 shape= "LEDS";
1766 };
1767 indicator "Num Lock" {
1768 top= 37;
1769 left= 382;
1770 priority= 1;
1771 onColor= "green";
1772 offColor= "green30";
1773 shape= "LED";
1774 };
1775 indicator "Caps Lock" {
1776 top= 37;
1777 left= 407;
1778 priority= 2;
1779 onColor= "green";
1780 offColor= "green30";
1781 shape= "LED";
1782 };
1783 indicator "Scroll Lock" {
1784 top= 37;
1785 left= 433;
1786 priority= 3;
1787 onColor= "green";
1788 offColor= "green30";
1789 shape= "LED";
1790 };
1791 text "NumLockLabel" {
1792 top= 25;
1793 left= 378;
1794 priority= 4;
1795 width= 19.8;
1796 height= 10;
1797 XFont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1";
1798 text= "Num\nLock";
1799 };
1800 text "CapsLockLabel" {
1801 top= 25;
1802 left= 403;
1803 priority= 5;
1804 width= 26.4;
1805 height= 10;
1806 XFont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1";
1807 text= "Caps\nLock";
1808 };
1809 text "ScrollLockLabel" {
1810 top= 25;
1811 left= 428;
1812 priority= 6;
1813 width= 39.6;
1814 height= 10;
1815 XFont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1";
1816 text= "Scroll\nLock";
1817 };
1818 };
1819
1820 };