xkb_keymap {
    xkb_keycodes  { include "evdev+aliases(qwerty)" };
    xkb_types     { include "complete" };
    xkb_compat    { include "complete" };
    xkb_symbols   {
        include "pc+us+ru:2+inet(evdev)"

        // Физический Caps → Escape
        key <CAPS> { [ Escape ] };

        // Физический Esc → переключение раскладки
        key <ESC>  { [ ISO_Next_Group ] };

        // Alt ↔ Super
        key <LALT> { [ Super_L ] };
        key <LWIN> { [ Alt_L, Meta_L ] };
        key <RALT> { [ Super_R ] };
        key <RWIN> { [ Alt_R, Meta_R ] };
    };
    xkb_geometry  { include "pc(pc105)" };
};
