Blob Blame Raw
#ifndef LAYOUT_EN_FULL_INC_C
#define LAYOUT_EN_FULL_INC_C


#include "layout.defs.h"


#define LEF_COL2 (X0+FW+S2)
#define LEF_COL3 (LEF_COL2+3*W+2*S+S2)
#define LEF_FW   (LEF_COL3-X0+4*W+3*S)
#define LEF_N    (-1-(FW-14*W-11*S))


Key keysEnFull[] = {
  HEADER(LEF_FW)
  
  { X0, Y1, W, H, XK_Escape, 0, "Esc" },
  { LEF_N, 0, 0, 0, XK_F1, 0, "F1" },
  { N, 0, 0, 0, XK_F2, 0, "F2" },
  { N, 0, 0, 0, XK_F3, 0, "F3" },
  { N, 0, 0, 0, XK_F4, 0, "F4" },
  { N-W/2, 0, 0, 0, XK_F5, 0, "F5" },
  { N, 0, 0, 0, XK_F6, 0, "F6" },
  { N, 0, 0, 0, XK_F7, 0, "F7" },
  { N, 0, 0, 0, XK_F8, 0, "F8" },
  { N-W/2, 0, 0, 0, XK_F9, 0, "F9" },
  { N, 0, 0, 0, XK_F10, 0, "F10" },
  { N, 0, 0, 0, XK_F11, 0, "F11" },
  { N, 0, 0, 0, XK_F12, 0, "F12" },
  
  { X0, N2, W2, H, XK_grave, XK_asciitilde },
  { N, 0, W, 0, XK_1, XK_exclam },
  { N, 0, 0, 0, XK_2, XK_at },
  { N, 0, 0, 0, XK_3, XK_numbersign },
  { N, 0, 0, 0, XK_4, XK_dollar },
  { N, 0, 0, 0, XK_5, XK_percent },
  { N, 0, 0, 0, XK_6, XK_asciicircum },
  { N, 0, 0, 0, XK_7, XK_ampersand },
  { N, 0, 0, 0, XK_8, XK_asterisk },
  { N, 0, 0, 0, XK_9, XK_parenleft },
  { N, 0, 0, 0, XK_0, XK_parenright },
  { N, 0, 0, 0, XK_minus, XK_underscore },
  { N, 0, 0, 0, XK_equal, XK_plus },
  { N, 0, W2, 0, XK_BackSpace, 0, "⌫" },
  
  { X0, N, W2, 0, XK_Tab, 0, "⇥" },
  { N, 0, W, 0, XK_q },
  { N, 0, 0, 0, XK_w },
  { N, 0, 0, 0, XK_e },
  { N, 0, 0, 0, XK_r },
  { N, 0, 0, 0, XK_t },
  { N, 0, 0, 0, XK_y },
  { N, 0, 0, 0, XK_u },
  { N, 0, 0, 0, XK_i },
  { N, 0, 0, 0, XK_o },
  { N, 0, 0, 0, XK_p },
  { N, 0, 0, 0, XK_bracketleft, XK_braceleft },
  { N, 0, 0, 0, XK_bracketright, XK_braceright },
  { N, 0, W2, H2, XK_Return, 0, "Enter" },
  
  { X0, Y4+S2-S, W2, H, XK_Caps_Lock, 0, "Caps Lock", "", KF_MOD, IM_CAPSLOCK_BIT },
  { N, 0, W, 0, XK_a },
  { N, 0, 0, 0, XK_s },
  { N, 0, 0, 0, XK_d },
  { N, 0, 0, 0, XK_f },
  { N, 0, 0, 0, XK_g },
  { N, 0, 0, 0, XK_h },
  { N, 0, 0, 0, XK_j },
  { N, 0, 0, 0, XK_k },
  { N, 0, 0, 0, XK_l },
  { N, 0, 0, 0, XK_semicolon, XK_colon },
  { N, 0, 0, 0, XK_apostrophe, XK_quotedbl },
  { N, 0, 0, 0, XK_backslash, XK_bar },
  
  { X0, N, W4, 0, XK_Shift_L, 0, "Shift", "", KF_HOLD },
  { N, 0, W, 0, XK_z },
  { N, 0, 0, 0, XK_x },
  { N, 0, 0, 0, XK_c },
  { N, 0, 0, 0, XK_v },
  { N, 0, 0, 0, XK_b },
  { N, 0, 0, 0, XK_n },
  { N, 0, 0, 0, XK_m },
  { N, 0, 0, 0, XK_comma, XK_less },
  { N, 0, 0, 0, XK_period, XK_greater },
  { N, 0, 0, 0, XK_slash, XK_question },
  { N, 0, W4, 0, XK_Shift_R, 0, "Shift", "", KF_HOLD },
  
  { X0, N, W2, 0, XK_Control_L, 0, "Ctrl", "", KF_HOLD },
  { N, 0, W2, 0, XK_Alt_L, 0, "Alt", "", KF_HOLD },
  { N, 0, W2, 0, 0, 0, "<--", "", KF_LAYOUT, LI_PREV },
  { N, 0, W5, 0, XK_space },
  { N, 0, W2, 0, 0, 0, "-->", "", KF_LAYOUT, LI_NEXT },
  { N, 0, W2, 0, XK_Alt_R, 0, "Alt", "", KF_HOLD },
  { N, 0, W2, 0, XK_Control_R, 0, "Ctrl", "", KF_HOLD },
  
  // col 2
  
  { LEF_COL2, Y1, W, 0, XK_Print, 0, "PrtScr" },
  { N, 0, 0, 0, XK_Scroll_Lock, 0, "ScrLk", "", KF_MOD, IM_SCRLOCK_BIT },
  { N, 0, 0, 0, XK_Pause, 0, "Pause" },
  
  { LEF_COL2, N2, 0, 0, XK_Insert, 0, "Ins" },
  { N, 0, 0, 0, XK_Home, 0, "Home" },
  { N, 0, 0, 0, XK_Page_Up, 0, "PgUp" },
  
  { LEF_COL2, N, 0, 0, XK_Delete, 0, "Del" },
  { N, 0, 0, 0, XK_End, 0, "End" },
  { N, 0, 0, 0, XK_Page_Down, 0, "PgDn" },
  { LEF_COL2+W+S, N-H-S, 0, 0, XK_Up, 0, "↑" },
  
  { LEF_COL2, N, 0, 0, XK_Left, 0, "←" },
  { N, 0, 0, 0, XK_Down, 0, "↓" },
  { N, 0, 0, 0, XK_Right, 0, "→" },
  
  // col3
  
  { LEF_COL3, Y1+H+S2, 0, 0, XK_Num_Lock, 0, "NumLk", "", KF_MOD, IM_NUMLOCK_BIT },
  { N, 0, 0, 0, XK_KP_Divide, 0, "/" },
  { N, 0, 0, 0, XK_KP_Multiply, 0, "*" },
  { N, 0, 0, 0, XK_KP_Subtract, 0, "-" },
  
  { LEF_COL3, N, 0, 0, XK_KP_Home, XK_KP_7, "Home", "7" },
  { N, 0, 0, 0, XK_KP_Up, XK_KP_8, "↑", "8" },
  { N, 0, 0, 0, XK_KP_Page_Down, XK_KP_9, "PgDn", "9" },
  { N, 0, 0, H2, XK_KP_Add, 0, "+" },
  
  { LEF_COL3, Y4+S2-S, 0, H, XK_KP_Left, XK_KP_4, "←", "4" },
  { N, 0, 0, 0, 0, XK_KP_5, "", "5" },
  { N, 0, 0, 0, XK_KP_Right, XK_KP_6, "→", "6" },
  
  { LEF_COL3, N, 0, 0, XK_KP_End, XK_KP_1, "End", "1" },
  { N, 0, 0, 0, XK_KP_Down, XK_KP_2, "↓", "2" },
  { N, 0, 0, 0, XK_KP_Page_Down, XK_KP_3, "PgDn", "2" },
  { N, 0, 0, H2, XK_KP_Enter, 0, "Enter" },
  
  { LEF_COL3, Y6+S2-S, 2*W+S, H, XK_KP_Insert, XK_KP_0, "Ins", "0" },
  { N, 0, W, 0, XK_KP_Delete, XK_KP_Decimal, "Del", "." },
  
  FOOTER(LEF_FW)
};

#endif