1default xkb_keycodes "evdev" {
2    <ZERO>              =  0;
3    <ESC>               =  1;
4    <1>                 =  2;
5    <2>                 =  3;
6    <3>                 =  4;
7    <4>                 =  5;
8    <5>                 =  6;
9    <6>                 =  7;
10    <7>                 =  8;
11    <8>                 =  9;
12    <9>                 =  10;
13    <0>                 =  11;
14    <MINUS>             =  12;
15    <EQUAL>             =  13;
16    <BACKSPACE>         =  14;
17    <TAB>               =  15;
18    <Q>                 =  16;
19    <W>                 =  17;
20    <E>                 =  18;
21    <R>                 =  19;
22    <T>                 =  20;
23    <Y>                 =  21;
24    <U>                 =  22;
25    <I>                 =  23;
26    <O>                 =  24;
27    <P>                 =  25;
28    <LEFTBRACE>         =  26;
29    <RIGHTBRACE>        =  27;
30    <ENTER>             =  28;
31    <LEFTCTRL>          =  29;
32    <A>                 =  30;
33    <S>                 =  31;
34    <D>                 =  32;
35    <F>                 =  33;
36    <G>                 =  34;
37    <H>                 =  35;
38    <J>                 =  36;
39    <K>                 =  37;
40    <L>                 =  38;
41    <SEMICOLON>         =  39;
42    <APOSTROPHE>        =  40;
43    <GRAVE>             =  41;
44    <LEFTSHIFT>         =  42;
45    <BACKSLASH>         =  43;
46    <Z>                 =  44;
47    <X>                 =  45;
48    <C>                 =  46;
49    <V>                 =  47;
50    <B>                 =  48;
51    <N>                 =  49;
52    <M>                 =  50;
53    <COMMA>             =  51;
54    <DOT>               =  52;
55    <SLASH>             =  53;
56    <RIGHTSHIFT>        =  54;
57    <KPASTERISK>        =  55;
58    <LEFTALT>           =  56;
59    <SPACE>             =  57;
60    <CAPSLOCK>          =  58;
61    <F1>                =  59;
62    <F2>                =  60;
63    <F3>                =  61;
64    <F4>                =  62;
65    <F5>                =  63;
66    <F6>                =  64;
67    <F7>                =  65;
68    <F8>                =  66;
69    <F9>                =  67;
70    <F10>               =  68;
71    <NUMLOCK>           =  69;
72    <SCROLLLOCK>        =  70;
73    <KP7>               =  71;
74    <KP8>               =  72;
75    <KP9>               =  73;
76    <KPMINUS>           =  74;
77    <KP4>               =  75;
78    <KP5>               =  76;
79    <KP6>               =  77;
80    <KPPLUS>            =  78;
81    <KP1>               =  79;
82    <KP2>               =  80;
83    <KP3>               =  81;
84    <KP0>               =  82;
85    <KPDOT>             =  83;
86    <ZENKAKUHANKAKU>    =  85;
87    <102ND>             =  86;
88    <F11>               =  87;
89    <F12>               =  88;
90    <RO>                =  89;
91    <KATAKANA>          =  90;
92    <HIRAGANA>          =  91;
93    <HENKAN>            =  92;
94    <KATAKANAHIRAGANA>  =  93;
95    <MUHENKAN>          =  94;
96    <KPJPCOMMA>         =  95;
97    <KPENTER>           =  96;
98    <RIGHTCTRL>         =  97;
99    <KPSLASH>           =  98;
100    <SYSRQ>             =  99;
101    <RIGHTALT>          =  100;
102    <LINEFEED>          =  101;
103    <HOME>              =  102;
104    <UP>                =  103;
105    <PAGEUP>            =  104;
106    <LEFT>              =  105;
107    <RIGHT>             =  106;
108    <END>               =  107;
109    <DOWN>              =  108;
110    <PAGEDOWN>          =  109;
111    <INSERT>            =  110;
112    <DELETE>            =  111;
113    <MACRO>             =  112;
114    <MUTE>              =  113;
115    <VOLUMEDOWN>        =  114;
116    <VOLUMEUP>          =  115;
117    <POWER>             =  116;
118    <KPEQUAL>           =  117;
119    <KPPLUSMINUS>       =  118;
120    <PAUSE>             =  119;
121    <SCALE>             =  120;
122    <KPCOMMA>           =  121;
123    <HANGEUL>           =  122;
124    <HANJA>             =  123;
125    <YEN>               =  124;
126    <LEFTMETA>          =  125;
127    <RIGHTMETA>         =  126;
128    <COMPOSE>           =  127;
129    <STOP>              =  128;
130    <AGAIN>             =  129;
131    <PROPS>             =  130;
132    <UNDO>              =  131;
133    <FRONT>             =  132;
134    <COPY>              =  133;
135    <OPEN>              =  134;
136    <PASTE>             =  135;
137    <FIND>              =  136;
138    <CUT>               =  137;
139    <HELP>              =  138;
140    <MENU>              =  139;
141    <CALC>              =  140;
142    <SETUP>             =  141;
143    <SLEEP>             =  142;
144    <WAKEUP>            =  143;
145    <FILE>              =  144;
146    <SENDFILE>          =  145;
147    <DELETEFILE>        =  146;
148    <XFER>              =  147;
149    <PROG1>             =  148;
150    <PROG2>             =  149;
151    <WWW>               =  150;
152    <MSDOS>             =  151;
153    <COFFEE>            =  152;
154    <DIRECTION>         =  153;
155    <CYCLEWINDOWS>      =  154;
156    <MAIL>              =  155;
157    <BOOKMARKS>         =  156;
158    <COMPUTER>          =  157;
159    <BACK>              =  158;
160    <FORWARD>           =  159;
161    <CLOSECD>           =  160;
162    <EJECTCD>           =  161;
163    <EJECTCLOSECD>      =  162;
164    <NEXTSONG>          =  163;
165    <PLAYPAUSE>         =  164;
166    <PREVIOUSSONG>      =  165;
167    <STOPCD>            =  166;
168    <RECORD>            =  167;
169    <REWIND>            =  168;
170    <PHONE>             =  169;
171    <ISO>               =  170;
172    <CONFIG>            =  171;
173    <HOMEPAGE>          =  172;
174    <REFRESH>           =  173;
175    <EXIT>              =  174;
176    <MOVE>              =  175;
177    <EDIT>              =  176;
178    <SCROLLUP>          =  177;
179    <SCROLLDOWN>        =  178;
180    <KPLEFTPAREN>       =  179;
181    <KPRIGHTPAREN>      =  180;
182    <NEW>               =  181;
183    <REDO>              =  182;
184    <F13>               =  183;
185    <F14>               =  184;
186    <F15>               =  185;
187    <F16>               =  186;
188    <F17>               =  187;
189    <F18>               =  188;
190    <F19>               =  189;
191    <F20>               =  190;
192    <F21>               =  191;
193    <F22>               =  192;
194    <F23>               =  193;
195    <F24>               =  194;
196    <PLAYCD>            =  200;
197    <PAUSECD>           =  201;
198    <PROG3>             =  202;
199    <PROG4>             =  203;
200    <DASHBOARD>         =  204;
201    <SUSPEND>           =  205;
202    <CLOSE>             =  206;
203    <PLAY>              =  207;
204    <FASTFORWARD>       =  208;
205    <BASSBOOST>         =  209;
206    <PRINT>             =  210;
207    <HP>                =  211;
208    <CAMERA>            =  212;
209    <SOUND>             =  213;
210    <QUESTION>          =  214;
211    <EMAIL>             =  215;
212    <CHAT>              =  216;
213    <SEARCH>            =  217;
214    <CONNECT>           =  218;
215    <FINANCE>           =  219;
216    <SPORT>             =  220;
217    <SHOP>              =  221;
218    <ALTERASE>          =  222;
219    <CANCEL>            =  223;
220    <BRIGHTNESSDOWN>    =  224;
221    <BRIGHTNESSUP>      =  225;
222    <MEDIA>             =  226;
223    <SWITCHVIDEOMODE>   =  227;
224    <KBDILLUMTOGGLE>    =  228;
225    <KBDILLUMDOWN>      =  229;
226    <KBDILLUMUP>        =  230;
227    <SEND>              =  231;
228    <REPLY>             =  232;
229    <FORWARDMAIL>       =  233;
230    <SAVE>              =  234;
231    <DOCUMENTS>         =  235;
232    <BATTERY>           =  236;
233    <BLUETOOTH>         =  237;
234    <WLAN>              =  238;
235    <UWB>               =  239;
236    <UNKNOWN>           =  240;
237    <VIDEO_NEXT>        =  241;
238    <VIDEO_PREV>        =  242;
239    <BRIGHTNESS_CYCLE>  =  243;
240    <BRIGHTNESS_ZERO>   =  244;
241    <DISPLAY_OFF>       =  245;
242    <WIMAX>             =  246;
243    <RFKILL>            =  247;
244    <MICMUTE>           =  248;
245
246    // Fake keycodes for virtual keys
247    <LVL3>              =  84;
248    <MDSW>              =  195;
249    <ALT>               =  196;
250    <META>              =  197;
251    <SUPR>              =  198;
252    <HYPR>              =  199;
253
254    indicator 0x01 = "Num Lock";    // NUML
255    indicator 0x02 = "Caps Lock";   // CAPSL
256    indicator 0x03 = "Scroll Lock"; // SCROLLL
257    indicator 0x04 = "Compose";     // COMPOSE
258    indicator 0x05 = "Kana";        // KANA
259    indicator 0x06 = "Sleep";       // SLEEP
260    indicator 0x07 = "Suspend";     // SUSPEND
261    indicator 0x08 = "Mute";        // MUTE
262    indicator 0x09 = "Misc";        // MISC
263    indicator 0x0a = "Mail";        // MAIL
264    indicator 0x0b = "Charging";    // CHARGING
265
266    alias <TLDE> = <GRAVE>;
267    alias <AE01> = <1>;
268    alias <AE02> = <2>;
269    alias <AE03> = <3>;
270    alias <AE04> = <4>;
271    alias <AE05> = <5>;
272    alias <AE06> = <6>;
273    alias <AE07> = <7>;
274    alias <AE08> = <8>;
275    alias <AE09> = <9>;
276    alias <AE10> = <0>;
277    alias <AE11> = <MINUS>;
278    alias <AE12> = <EQUAL>;
279    alias <BKSP> = <BACKSPACE>;
280
281    alias <AD01> = <Q>;
282    alias <AD02> = <W>;
283    alias <AD03> = <E>;
284    alias <AD04> = <R>;
285    alias <AD05> = <T>;
286    alias <AD06> = <Y>;
287    alias <AD07> = <U>;
288    alias <AD08> = <I>;
289    alias <AD09> = <O>;
290    alias <AD10> = <P>;
291    alias <AD11> = <LEFTBRACE>;
292    alias <AD12> = <RIGHTBRACE>;
293    alias <BKSL> = <BACKSLASH>;
294    alias <AC12> = <BACKSLASH>;
295    alias <RTRN> = <ENTER>;
296
297    alias <CAPS> = <CAPSLOCK>;
298    alias <AC01> = <A>;
299    alias <AC02> = <S>;
300    alias <AC03> = <D>;
301    alias <AC04> = <F>;
302    alias <AC05> = <G>;
303    alias <AC06> = <H>;
304    alias <AC07> = <J>;
305    alias <AC08> = <K>;
306    alias <AC09> = <L>;
307    alias <AC10> = <SEMICOLON>;
308    alias <AC11> = <APOSTROPHE>;
309
310    alias <LFSH> = <LEFTSHIFT>;
311    alias <AB01> = <Z>;
312    alias <AB02> = <X>;
313    alias <AB03> = <C>;
314    alias <AB04> = <V>;
315    alias <AB05> = <B>;
316    alias <AB06> = <N>;
317    alias <AB07> = <M>;
318    alias <AB08> = <COMMA>;
319    alias <AB09> = <DOT>;
320    alias <AB10> = <SLASH>;
321    alias <RTSH> = <RIGHTSHIFT>;
322
323    alias <LALT> = <LEFTALT>;
324    alias <LCTL> = <LEFTCTRL>;
325    alias <SPCE> = <SPACE>;
326    alias <RCTL> = <RIGHTCTRL>;
327    alias <RALT> = <RIGHTALT>;
328    alias <LWIN> = <LEFTMETA>;
329    alias <RWIN> = <RIGHTMETA>;
330    alias <COMP> = <COMPOSE>;
331    alias <MENU> = <COMPOSE>;
332
333    alias <FK01> = <F1>;
334    alias <FK02> = <F2>;
335    alias <FK03> = <F3>;
336    alias <FK04> = <F4>;
337    alias <FK05> = <F5>;
338    alias <FK06> = <F6>;
339    alias <FK07> = <F7>;
340    alias <FK08> = <F8>;
341    alias <FK09> = <F9>;
342    alias <FK10> = <F10>;
343    alias <FK11> = <F11>;
344    alias <FK12> = <F12>;
345
346    alias <PRSC> = <SYSRQ>;
347    alias <SCLK> = <SCROLLLOCK>;
348    alias <PAUS> = <PAUSE>;
349
350    alias <INS> = <INSERT>;
351    alias <PGUP> = <PAGEUP>;
352    alias <DELE> = <DELETE>;
353    alias <PGDN> = <PAGEDOWN>;
354
355    alias <RGHT> = <RIGHT>;
356
357    alias <NMLK> = <NUMLOCK>;
358    alias <KPDV> = <KPSLASH>;
359    alias <KPMU> = <KPASTERISK>;
360    alias <KPSU> = <KPMINUS>;
361
362    alias <KPAD> = <KPPLUS>;
363
364    alias <KPEN> = <KPENTER>;
365
366    alias <KPDL> = <KPDOT>;
367    alias <KPEQ> = <KPEQUAL>;
368
369    alias <FK13> = <F13>;
370    alias <FK14> = <F14>;
371    alias <FK15> = <F15>;
372    alias <FK16> = <F16>;
373    alias <FK17> = <F17>;
374    alias <FK18> = <F18>;
375    alias <FK19> = <F19>;
376    alias <FK20> = <F20>;
377    alias <FK21> = <F21>;
378    alias <FK22> = <F22>;
379    alias <FK23> = <F23>;
380    alias <FK24> = <F24>;
381
382    alias <HZTG> = <APOSTROPHE>;
383    alias <HKTG> = <KATAKANAHIRAGANA>;
384    alias <AB11> = <RO>;
385    alias <HENK> = <HENKAN>;
386    alias <MUHE> = <MUHENKAN>;
387    alias <AE13> = <YEN>;
388    alias <KATA> = <KATAKANA>;
389    alias <HIRA> = <HIRAGANA>;
390    alias <JPCM> = <KPJPCOMMA>;
391
392    alias <HNGL> = <HANGEUL>;
393    alias <HJCV> = <HANJA>;
394
395    alias <LMTA> = <LEFTMETA>;
396    alias <RMTA> = <RIGHTMETA>;
397    alias <VOL-> = <VOLUMEDOWN>;
398    alias <VOL+> = <VOLUMEUP>;
399    alias <POWR> = <POWER>;
400    alias <AGAI> = <AGAIN>;
401    alias <PROP> = <PROPS>;
402    alias <FRNT> = <FRONT>;
403    alias <PAST> = <PASTE>;
404
405    alias <LNFD> = <LINEFEED>;
406    alias <I120> = <MACRO>;
407    alias <I126> = <KPPLUSMINUS>;
408    alias <I128> = <SCALE>;
409    alias <I129> = <KPCOMMA>;
410    alias <I147> = <MENU>;
411    alias <I148> = <CALC>;
412    alias <I149> = <SETUP>;
413    alias <I150> = <SLEEP>;
414    alias <I151> = <WAKEUP>;
415    alias <I152> = <FILE>;
416    alias <I153> = <SENDFILE>;
417    alias <I154> = <DELETEFILE>;
418    alias <I155> = <XFER>;
419    alias <I156> = <PROG1>;
420    alias <I157> = <PROG2>;
421    alias <I158> = <WWW>;
422    alias <I159> = <MSDOS>;
423    alias <I160> = <COFFEE>;
424    alias <I161> = <DIRECTION>;
425    alias <I162> = <CYCLEWINDOWS>;
426    alias <I163> = <MAIL>;
427    alias <I164> = <BOOKMARKS>;
428    alias <I165> = <COMPUTER>;
429    alias <I166> = <BACK>;
430    alias <I167> = <FORWARD>;
431    alias <I168> = <CLOSECD>;
432    alias <I169> = <EJECTCD>;
433    alias <I170> = <EJECTCLOSECD>;
434    alias <I171> = <NEXTSONG>;
435    alias <I172> = <PLAYPAUSE>;
436    alias <I173> = <PREVIOUSSONG>;
437    alias <I174> = <STOPCD>;
438    alias <I175> = <RECORD>;
439    alias <I176> = <REWIND>;
440    alias <I177> = <PHONE>;
441    alias <I178> = <ISO>;
442    alias <I179> = <CONFIG>;
443    alias <I180> = <HOMEPAGE>;
444    alias <I181> = <REFRESH>;
445    alias <I182> = <EXIT>;
446    alias <I183> = <MOVE>;
447    alias <I184> = <EDIT>;
448    alias <I185> = <SCROLLUP>;
449    alias <I186> = <SCROLLDOWN>;
450    alias <I187> = <KPLEFTPAREN>;
451    alias <I188> = <KPRIGHTPAREN>;
452    alias <I189> = <NEW>;
453    alias <I190> = <REDO>;
454    alias <I208> = <PLAYCD>;
455    alias <I209> = <PAUSECD>;
456    alias <I210> = <PROG3>;
457    alias <I211> = <PROG4>;
458    alias <I212> = <DASHBOARD>;
459    alias <I213> = <SUSPEND>;
460    alias <I214> = <CLOSE>;
461    alias <I215> = <PLAY>;
462    alias <I216> = <FASTFORWARD>;
463    alias <I217> = <BASSBOOST>;
464    alias <I218> = <PRINT>;
465    alias <I219> = <HP>;
466    alias <I220> = <CAMERA>;
467    alias <I221> = <SOUND>;
468    alias <I222> = <QUESTION>;
469    alias <I223> = <EMAIL>;
470    alias <I224> = <CHAT>;
471    alias <I225> = <SEARCH>;
472    alias <I226> = <CONNECT>;
473    alias <I227> = <FINANCE>;
474    alias <I228> = <SPORT>;
475    alias <I229> = <SHOP>;
476    alias <I230> = <ALTERASE>;
477    alias <I231> = <CANCEL>;
478    alias <I232> = <BRIGHTNESSDOWN>;
479    alias <I233> = <BRIGHTNESSUP>;
480    alias <I234> = <MEDIA>;
481    alias <I235> = <SWITCHVIDEOMODE>;
482    alias <I236> = <KBDILLUMTOGGLE>;
483    alias <I237> = <KBDILLUMDOWN>;
484    alias <I238> = <KBDILLUMUP>;
485    alias <I239> = <SEND>;
486    alias <I240> = <REPLY>;
487    alias <I241> = <FORWARDMAIL>;
488    alias <I242> = <SAVE>;
489    alias <I243> = <DOCUMENTS>;
490    alias <I244> = <BATTERY>;
491    alias <I245> = <BLUETOOTH>;
492    alias <I246> = <WLAN>;
493    alias <I247> = <UWB>;
494    alias <I248> = <UNKNOWN>;
495    alias <I249> = <VIDEO_NEXT>;
496    alias <I250> = <VIDEO_PREV>;
497    alias <I251> = <BRIGHTNESS_CYCLE>;
498    alias <I252> = <BRIGHTNESS_ZERO>;
499    alias <I253> = <DISPLAY_OFF>;
500
501    alias <ALGR> = <RIGHTALT>;
502
503    // For Brazilian ABNT2
504    alias <KPPT> = <KPCOMMA>;
505};
506