default xkb_keycodes "evdev" {
    <ZERO>              =  0;
    <ESC>               =  1;
    <1>                 =  2;
    <2>                 =  3;
    <3>                 =  4;
    <4>                 =  5;
    <5>                 =  6;
    <6>                 =  7;
    <7>                 =  8;
    <8>                 =  9;
    <9>                 =  10;
    <0>                 =  11;
    <MINUS>             =  12;
    <EQUAL>             =  13;
    <BACKSPACE>         =  14;
    <TAB>               =  15;
    <Q>                 =  16;
    <W>                 =  17;
    <E>                 =  18;
    <R>                 =  19;
    <T>                 =  20;
    <Y>                 =  21;
    <U>                 =  22;
    <I>                 =  23;
    <O>                 =  24;
    <P>                 =  25;
    <LEFTBRACE>         =  26;
    <RIGHTBRACE>        =  27;
    <ENTER>             =  28;
    <LEFTCTRL>          =  29;
    <A>                 =  30;
    <S>                 =  31;
    <D>                 =  32;
    <F>                 =  33;
    <G>                 =  34;
    <H>                 =  35;
    <J>                 =  36;
    <K>                 =  37;
    <L>                 =  38;
    <SEMICOLON>         =  39;
    <APOSTROPHE>        =  40;
    <GRAVE>             =  41;
    <LEFTSHIFT>         =  42;
    <BACKSLASH>         =  43;
    <Z>                 =  44;
    <X>                 =  45;
    <C>                 =  46;
    <V>                 =  47;
    <B>                 =  48;
    <N>                 =  49;
    <M>                 =  50;
    <COMMA>             =  51;
    <DOT>               =  52;
    <SLASH>             =  53;
    <RIGHTSHIFT>        =  54;
    <KPASTERISK>        =  55;
    <LEFTALT>           =  56;
    <SPACE>             =  57;
    <CAPSLOCK>          =  58;
    <F1>                =  59;
    <F2>                =  60;
    <F3>                =  61;
    <F4>                =  62;
    <F5>                =  63;
    <F6>                =  64;
    <F7>                =  65;
    <F8>                =  66;
    <F9>                =  67;
    <F10>               =  68;
    <NUMLOCK>           =  69;
    <SCROLLLOCK>        =  70;
    <KP7>               =  71;
    <KP8>               =  72;
    <KP9>               =  73;
    <KPMINUS>           =  74;
    <KP4>               =  75;
    <KP5>               =  76;
    <KP6>               =  77;
    <KPPLUS>            =  78;
    <KP1>               =  79;
    <KP2>               =  80;
    <KP3>               =  81;
    <KP0>               =  82;
    <KPDOT>             =  83;
    <ZENKAKUHANKAKU>    =  85;
    <102ND>             =  86;
    <F11>               =  87;
    <F12>               =  88;
    <RO>                =  89;
    <KATAKANA>          =  90;
    <HIRAGANA>          =  91;
    <HENKAN>            =  92;
    <KATAKANAHIRAGANA>  =  93;
    <MUHENKAN>          =  94;
    <KPJPCOMMA>         =  95;
    <KPENTER>           =  96;
    <RIGHTCTRL>         =  97;
    <KPSLASH>           =  98;
    <SYSRQ>             =  99;
    <RIGHTALT>          =  100;
    <LINEFEED>          =  101;
    <HOME>              =  102;
    <UP>                =  103;
    <PAGEUP>            =  104;
    <LEFT>              =  105;
    <RIGHT>             =  106;
    <END>               =  107;
    <DOWN>              =  108;
    <PAGEDOWN>          =  109;
    <INSERT>            =  110;
    <DELETE>            =  111;
    <MACRO>             =  112;
    <MUTE>              =  113;
    <VOLUMEDOWN>        =  114;
    <VOLUMEUP>          =  115;
    <POWER>             =  116;
    <KPEQUAL>           =  117;
    <KPPLUSMINUS>       =  118;
    <PAUSE>             =  119;
    <SCALE>             =  120;
    <KPCOMMA>           =  121;
    <HANGEUL>           =  122;
    <HANJA>             =  123;
    <YEN>               =  124;
    <LEFTMETA>          =  125;
    <RIGHTMETA>         =  126;
    <COMPOSE>           =  127;
    <STOP>              =  128;
    <AGAIN>             =  129;
    <PROPS>             =  130;
    <UNDO>              =  131;
    <FRONT>             =  132;
    <COPY>              =  133;
    <OPEN>              =  134;
    <PASTE>             =  135;
    <FIND>              =  136;
    <CUT>               =  137;
    <HELP>              =  138;
    <MENU>              =  139;
    <CALC>              =  140;
    <SETUP>             =  141;
    <SLEEP>             =  142;
    <WAKEUP>            =  143;
    <FILE>              =  144;
    <SENDFILE>          =  145;
    <DELETEFILE>        =  146;
    <XFER>              =  147;
    <PROG1>             =  148;
    <PROG2>             =  149;
    <WWW>               =  150;
    <MSDOS>             =  151;
    <COFFEE>            =  152;
    <DIRECTION>         =  153;
    <CYCLEWINDOWS>      =  154;
    <MAIL>              =  155;
    <BOOKMARKS>         =  156;
    <COMPUTER>          =  157;
    <BACK>              =  158;
    <FORWARD>           =  159;
    <CLOSECD>           =  160;
    <EJECTCD>           =  161;
    <EJECTCLOSECD>      =  162;
    <NEXTSONG>          =  163;
    <PLAYPAUSE>         =  164;
    <PREVIOUSSONG>      =  165;
    <STOPCD>            =  166;
    <RECORD>            =  167;
    <REWIND>            =  168;
    <PHONE>             =  169;
    <ISO>               =  170;
    <CONFIG>            =  171;
    <HOMEPAGE>          =  172;
    <REFRESH>           =  173;
    <EXIT>              =  174;
    <MOVE>              =  175;
    <EDIT>              =  176;
    <SCROLLUP>          =  177;
    <SCROLLDOWN>        =  178;
    <KPLEFTPAREN>       =  179;
    <KPRIGHTPAREN>      =  180;
    <NEW>               =  181;
    <REDO>              =  182;
    <F13>               =  183;
    <F14>               =  184;
    <F15>               =  185;
    <F16>               =  186;
    <F17>               =  187;
    <F18>               =  188;
    <F19>               =  189;
    <F20>               =  190;
    <F21>               =  191;
    <F22>               =  192;
    <F23>               =  193;
    <F24>               =  194;
    <PLAYCD>            =  200;
    <PAUSECD>           =  201;
    <PROG3>             =  202;
    <PROG4>             =  203;
    <DASHBOARD>         =  204;
    <SUSPEND>           =  205;
    <CLOSE>             =  206;
    <PLAY>              =  207;
    <FASTFORWARD>       =  208;
    <BASSBOOST>         =  209;
    <PRINT>             =  210;
    <HP>                =  211;
    <CAMERA>            =  212;
    <SOUND>             =  213;
    <QUESTION>          =  214;
    <EMAIL>             =  215;
    <CHAT>              =  216;
    <SEARCH>            =  217;
    <CONNECT>           =  218;
    <FINANCE>           =  219;
    <SPORT>             =  220;
    <SHOP>              =  221;
    <ALTERASE>          =  222;
    <CANCEL>            =  223;
    <BRIGHTNESSDOWN>    =  224;
    <BRIGHTNESSUP>      =  225;
    <MEDIA>             =  226;
    <SWITCHVIDEOMODE>   =  227;
    <KBDILLUMTOGGLE>    =  228;
    <KBDILLUMDOWN>      =  229;
    <KBDILLUMUP>        =  230;
    <SEND>              =  231;
    <REPLY>             =  232;
    <FORWARDMAIL>       =  233;
    <SAVE>              =  234;
    <DOCUMENTS>         =  235;
    <BATTERY>           =  236;
    <BLUETOOTH>         =  237;
    <WLAN>              =  238;
    <UWB>               =  239;
    <UNKNOWN>           =  240;
    <VIDEO_NEXT>        =  241;
    <VIDEO_PREV>        =  242;
    <BRIGHTNESS_CYCLE>  =  243;
    <BRIGHTNESS_ZERO>   =  244;
    <DISPLAY_OFF>       =  245;
    <WIMAX>             =  246;
    <RFKILL>            =  247;
    <MICMUTE>           =  248;

    // Fake keycodes for virtual keys
    <LVL3>              =  84;
    <MDSW>              =  195;
    <ALT>               =  196;
    <META>              =  197;
    <SUPR>              =  198;
    <HYPR>              =  199;

    indicator 0x01 = "Num Lock";    // NUML
    indicator 0x02 = "Caps Lock";   // CAPSL
    indicator 0x03 = "Scroll Lock"; // SCROLLL
    indicator 0x04 = "Compose";     // COMPOSE
    indicator 0x05 = "Kana";        // KANA
    indicator 0x06 = "Sleep";       // SLEEP
    indicator 0x07 = "Suspend";     // SUSPEND
    indicator 0x08 = "Mute";        // MUTE
    indicator 0x09 = "Misc";        // MISC
    indicator 0x0a = "Mail";        // MAIL
    indicator 0x0b = "Charging";    // CHARGING

    alias <TLDE> = <GRAVE>;
    alias <AE01> = <1>;
    alias <AE02> = <2>;
    alias <AE03> = <3>;
    alias <AE04> = <4>;
    alias <AE05> = <5>;
    alias <AE06> = <6>;
    alias <AE07> = <7>;
    alias <AE08> = <8>;
    alias <AE09> = <9>;
    alias <AE10> = <0>;
    alias <AE11> = <MINUS>;
    alias <AE12> = <EQUAL>;
    alias <BKSP> = <BACKSPACE>;

    alias <AD01> = <Q>;
    alias <AD02> = <W>;
    alias <AD03> = <E>;
    alias <AD04> = <R>;
    alias <AD05> = <T>;
    alias <AD06> = <Y>;
    alias <AD07> = <U>;
    alias <AD08> = <I>;
    alias <AD09> = <O>;
    alias <AD10> = <P>;
    alias <AD11> = <LEFTBRACE>;
    alias <AD12> = <RIGHTBRACE>;
    alias <BKSL> = <BACKSLASH>;
    alias <AC12> = <BACKSLASH>;
    alias <RTRN> = <ENTER>;

    alias <CAPS> = <CAPSLOCK>;
    alias <AC01> = <A>;
    alias <AC02> = <S>;
    alias <AC03> = <D>;
    alias <AC04> = <F>;
    alias <AC05> = <G>;
    alias <AC06> = <H>;
    alias <AC07> = <J>;
    alias <AC08> = <K>;
    alias <AC09> = <L>;
    alias <AC10> = <SEMICOLON>;
    alias <AC11> = <APOSTROPHE>;

    alias <LFSH> = <LEFTSHIFT>;
    alias <AB01> = <Z>;
    alias <AB02> = <X>;
    alias <AB03> = <C>;
    alias <AB04> = <V>;
    alias <AB05> = <B>;
    alias <AB06> = <N>;
    alias <AB07> = <M>;
    alias <AB08> = <COMMA>;
    alias <AB09> = <DOT>;
    alias <AB10> = <SLASH>;
    alias <RTSH> = <RIGHTSHIFT>;

    alias <LALT> = <LEFTALT>;
    alias <LCTL> = <LEFTCTRL>;
    alias <SPCE> = <SPACE>;
    alias <RCTL> = <RIGHTCTRL>;
    alias <RALT> = <RIGHTALT>;
    alias <LWIN> = <LEFTMETA>;
    alias <RWIN> = <RIGHTMETA>;
    alias <COMP> = <COMPOSE>;
    alias <MENU> = <COMPOSE>;

    alias <FK01> = <F1>;
    alias <FK02> = <F2>;
    alias <FK03> = <F3>;
    alias <FK04> = <F4>;
    alias <FK05> = <F5>;
    alias <FK06> = <F6>;
    alias <FK07> = <F7>;
    alias <FK08> = <F8>;
    alias <FK09> = <F9>;
    alias <FK10> = <F10>;
    alias <FK11> = <F11>;
    alias <FK12> = <F12>;

    alias <PRSC> = <SYSRQ>;
    alias <SCLK> = <SCROLLLOCK>;
    alias <PAUS> = <PAUSE>;

    alias <INS> = <INSERT>;
    alias <PGUP> = <PAGEUP>;
    alias <DELE> = <DELETE>;
    alias <PGDN> = <PAGEDOWN>;

    alias <RGHT> = <RIGHT>;

    alias <NMLK> = <NUMLOCK>;
    alias <KPDV> = <KPSLASH>;
    alias <KPMU> = <KPASTERISK>;
    alias <KPSU> = <KPMINUS>;

    alias <KPAD> = <KPPLUS>;

    alias <KPEN> = <KPENTER>;

    alias <KPDL> = <KPDOT>;
    alias <KPEQ> = <KPEQUAL>;

    alias <FK13> = <F13>;
    alias <FK14> = <F14>;
    alias <FK15> = <F15>;
    alias <FK16> = <F16>;
    alias <FK17> = <F17>;
    alias <FK18> = <F18>;
    alias <FK19> = <F19>;
    alias <FK20> = <F20>;
    alias <FK21> = <F21>;
    alias <FK22> = <F22>;
    alias <FK23> = <F23>;
    alias <FK24> = <F24>;

    alias <HZTG> = <APOSTROPHE>;
    alias <HKTG> = <KATAKANAHIRAGANA>;
    alias <AB11> = <RO>;
    alias <HENK> = <HENKAN>;
    alias <MUHE> = <MUHENKAN>;
    alias <AE13> = <YEN>;
    alias <KATA> = <KATAKANA>;
    alias <HIRA> = <HIRAGANA>;
    alias <JPCM> = <KPJPCOMMA>;

    alias <HNGL> = <HANGEUL>;
    alias <HJCV> = <HANJA>;

    alias <LMTA> = <LEFTMETA>;
    alias <RMTA> = <RIGHTMETA>;
    alias <VOL-> = <VOLUMEDOWN>;
    alias <VOL+> = <VOLUMEUP>;
    alias <POWR> = <POWER>;
    alias <AGAI> = <AGAIN>;
    alias <PROP> = <PROPS>;
    alias <FRNT> = <FRONT>;
    alias <PAST> = <PASTE>;

    alias <LNFD> = <LINEFEED>;
    alias <I120> = <MACRO>;
    alias <I126> = <KPPLUSMINUS>;
    alias <I128> = <SCALE>;
    alias <I129> = <KPCOMMA>;
    alias <I147> = <MENU>;
    alias <I148> = <CALC>;
    alias <I149> = <SETUP>;
    alias <I150> = <SLEEP>;
    alias <I151> = <WAKEUP>;
    alias <I152> = <FILE>;
    alias <I153> = <SENDFILE>;
    alias <I154> = <DELETEFILE>;
    alias <I155> = <XFER>;
    alias <I156> = <PROG1>;
    alias <I157> = <PROG2>;
    alias <I158> = <WWW>;
    alias <I159> = <MSDOS>;
    alias <I160> = <COFFEE>;
    alias <I161> = <DIRECTION>;
    alias <I162> = <CYCLEWINDOWS>;
    alias <I163> = <MAIL>;
    alias <I164> = <BOOKMARKS>;
    alias <I165> = <COMPUTER>;
    alias <I166> = <BACK>;
    alias <I167> = <FORWARD>;
    alias <I168> = <CLOSECD>;
    alias <I169> = <EJECTCD>;
    alias <I170> = <EJECTCLOSECD>;
    alias <I171> = <NEXTSONG>;
    alias <I172> = <PLAYPAUSE>;
    alias <I173> = <PREVIOUSSONG>;
    alias <I174> = <STOPCD>;
    alias <I175> = <RECORD>;
    alias <I176> = <REWIND>;
    alias <I177> = <PHONE>;
    alias <I178> = <ISO>;
    alias <I179> = <CONFIG>;
    alias <I180> = <HOMEPAGE>;
    alias <I181> = <REFRESH>;
    alias <I182> = <EXIT>;
    alias <I183> = <MOVE>;
    alias <I184> = <EDIT>;
    alias <I185> = <SCROLLUP>;
    alias <I186> = <SCROLLDOWN>;
    alias <I187> = <KPLEFTPAREN>;
    alias <I188> = <KPRIGHTPAREN>;
    alias <I189> = <NEW>;
    alias <I190> = <REDO>;
    alias <I208> = <PLAYCD>;
    alias <I209> = <PAUSECD>;
    alias <I210> = <PROG3>;
    alias <I211> = <PROG4>;
    alias <I212> = <DASHBOARD>;
    alias <I213> = <SUSPEND>;
    alias <I214> = <CLOSE>;
    alias <I215> = <PLAY>;
    alias <I216> = <FASTFORWARD>;
    alias <I217> = <BASSBOOST>;
    alias <I218> = <PRINT>;
    alias <I219> = <HP>;
    alias <I220> = <CAMERA>;
    alias <I221> = <SOUND>;
    alias <I222> = <QUESTION>;
    alias <I223> = <EMAIL>;
    alias <I224> = <CHAT>;
    alias <I225> = <SEARCH>;
    alias <I226> = <CONNECT>;
    alias <I227> = <FINANCE>;
    alias <I228> = <SPORT>;
    alias <I229> = <SHOP>;
    alias <I230> = <ALTERASE>;
    alias <I231> = <CANCEL>;
    alias <I232> = <BRIGHTNESSDOWN>;
    alias <I233> = <BRIGHTNESSUP>;
    alias <I234> = <MEDIA>;
    alias <I235> = <SWITCHVIDEOMODE>;
    alias <I236> = <KBDILLUMTOGGLE>;
    alias <I237> = <KBDILLUMDOWN>;
    alias <I238> = <KBDILLUMUP>;
    alias <I239> = <SEND>;
    alias <I240> = <REPLY>;
    alias <I241> = <FORWARDMAIL>;
    alias <I242> = <SAVE>;
    alias <I243> = <DOCUMENTS>;
    alias <I244> = <BATTERY>;
    alias <I245> = <BLUETOOTH>;
    alias <I246> = <WLAN>;
    alias <I247> = <UWB>;
    alias <I248> = <UNKNOWN>;
    alias <I249> = <VIDEO_NEXT>;
    alias <I250> = <VIDEO_PREV>;
    alias <I251> = <BRIGHTNESS_CYCLE>;
    alias <I252> = <BRIGHTNESS_ZERO>;
    alias <I253> = <DISPLAY_OFF>;

    alias <ALGR> = <RIGHTALT>;

    // For Brazilian ABNT2
    alias <KPPT> = <KPCOMMA>;
};
