edge_keys.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. #pragma once
  2. /*
  3. Copyright 2018 Eric Gebhart <e.a.gebhart@gmail.com>
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. /******************************************************************/
  16. /* This is where I put my Keyboard layouts, Everything on the */
  17. /* edges, the functions on keys like LT() and SFT_T() */
  18. /* can be applied here. The physical shape of the keyboard is */
  19. /* also accounted for here. This makes it very simple to add a */
  20. /* new keyboard and reuse all of my layouts and layers */
  21. /* */
  22. /* The particular pieces we define here (as needed) are: */
  23. /* * Edge pinky keys, */
  24. /* * Middle section keys */
  25. /* * Bottom/5th row */
  26. /* * Thumbkeys */
  27. /* * Any functional additions to wrap the keys. ie. LT() */
  28. /* */
  29. /* With all of that in hand, we then create a LAYOUT wrapper */
  30. /* macro that takes a list of keys, to create a keyboard matrix */
  31. /* that fits the keyboard. Simple. */
  32. /* */
  33. /* The thumb keys, the bottom rows, etc. */
  34. /* */
  35. /* An attempt has been made to adapt the kinesis and ergodox */
  36. /* Thumb keys to the rectangular shapes of the xd75 and viterbi. */
  37. /* which are 15x and 14x matrices respectively. */
  38. /* The Corne was a perfect fit */
  39. /******************************************************************/
  40. /******************************************************************/
  41. /* * The XD75 is a 5x15 Ortholinear matrix which means it has 3 */
  42. /* keys inbetween the usual left and right hand keys */
  43. /* * The Viterbi is a split 5x14 Ortholinear with 2 middle keys. */
  44. /* * The Ergodox is a split 5x14 Ortholinear with 2 middle keys, */
  45. /* thumbkeys. It is missing middle keys on (home) row 3. */
  46. /* * The Corne is a split 3x12 with 6 thumb keys. It has no */
  47. /* extra middle keys */
  48. /* */
  49. /******************************************************************/
  50. /******************************************************************/
  51. /* In all cases these keyboards are defined in a matrix which is */
  52. /* a set of rows. Maybe like so, or not. */
  53. /* */
  54. /* -------------------------|------------------------ */
  55. /* | Left0 | Numbers L | mid|dle0 | numbers R | Right0 | */
  56. /* | Left1 | keys0-5 | mid|dle1 | Keys6-10 | Right1 | */
  57. /* | Left2 | keys11-15 | mid|dle2 | Keys16-20 | Right2 | */
  58. /* | Left3 | keys20-25 | mid|dle3 | Keys25-30 | Right3 | */
  59. /* | Row5L | Row5R | */
  60. /* | ThumbsL | ThumbsR | */
  61. /* -------------------------|------------------------ */
  62. /* Generally speaking, the keys on the right and left don't change. */
  63. /* Neither does the bottom row or the thumbs. Frequently the numbers */
  64. /* row is identical across layers. Mostly, we want our Base layers to */
  65. /* be predctable. */
  66. // Edge columns. N rows by 6 columns per side.
  67. // Outside pinky keys are 'yes'
  68. // Should be undef/def'd by the keyboard's keymap if no.
  69. //#define EDGE_COLS yes
  70. // BEPO or EN. Used in map.h
  71. //#define LANG_IS EN
  72. #define CONCATENATEE(a, ...) a ## __VA_ARGS__
  73. #define CATE(a, ...) CONCATENATEE(a, __VA_ARGS__)
  74. // EDGES
  75. // outside pinky keys row 0-3.
  76. // Qwerty and Bepo, - Applies
  77. // to foreign layouts on bepo. dvorak_bp, beakl_bp.
  78. // Use by Wrapping the root like so. LANG_N(LEFT0)
  79. // Add more languages by adding more definitions.
  80. #define EDGE_KEY(KNAME) CATE(LANG_N(KNAME), EDGE_KEY_SFX)
  81. #define LEFT_0 EDGE_KEY(LEFT0)
  82. #define LEFT_1 EDGE_KEY(LEFT1)
  83. #define LEFT_2 EDGE_KEY(LEFT2)
  84. #define LEFT_3 EDGE_KEY(LEFT3)
  85. #define RIGHT_0 EDGE_KEY(RIGHT0)
  86. #define RIGHT_1 EDGE_KEY(RIGHT1)
  87. #define RIGHT_2 EDGE_KEY(RIGHT2)
  88. #define RIGHT_3 EDGE_KEY(RIGHT3)
  89. #define EDGE_KEY_SFX CATE(CATE(EDGE_KEY_SET_IS, _), SFX)
  90. #define SML_SFX _sml
  91. #define NOKC_SFX _nokc
  92. #define NORM_SFX _norm
  93. #define TEST_SFX _test
  94. #define REF1_SFX _ref1
  95. #define REF2_SFX _ref2
  96. // Edge key sets
  97. // a mostly normalish set of edge keys.
  98. #define LEFT0_EN_norm KC_GRV
  99. #define LEFT1_EN_norm KC_GRV
  100. #define LEFT2_EN_norm KC_TAB
  101. #define LEFT3_EN_norm KC_BSLS
  102. #define RIGHT0_EN_norm KC_EQL
  103. #define RIGHT1_EN_norm KC_EQL
  104. #define RIGHT2_EN_norm KC_MINS
  105. #define RIGHT3_EN_norm KC_SLSH
  106. // smart lock edges mostly
  107. #define LEFT0_EN_sml SML_NAV
  108. #define LEFT1_EN_sml SML_NAV
  109. #define LEFT2_EN_sml KC_TAB
  110. #ifdef ACCENTS_MORTE_LAYER_ENABLE
  111. #define LEFT3_EN_sml TT(_ACCENTS_MORTE_EN)
  112. #else
  113. #define LEFT3_EN_sml ___
  114. #endif
  115. #define RIGHT0_EN_sml SML_KEYPAD
  116. #define RIGHT1_EN_sml SML_KEYPAD
  117. #define RIGHT2_EN_sml KC_MINS
  118. #define RIGHT3_EN_sml TT(_LAYERS)
  119. // empty no kc edges
  120. #define LEFT0_EN_nokc KC_NO
  121. #define LEFT1_EN_nokc KC_NO
  122. #define LEFT2_EN_nokc KC_NO
  123. #define LEFT3_EN_nokc KC_NO
  124. #define RIGHT0_EN_nokc KC_NO
  125. #define RIGHT1_EN_nokc KC_NO
  126. #define RIGHT2_EN_nokc KC_NO
  127. #define RIGHT3_EN_nokc KC_NO
  128. //test edge keys
  129. #define LEFT0_EN_test KC_NO
  130. #define LEFT1_EN_test KC_NO
  131. #define LEFT2_EN_test KC_NO
  132. #define LEFT3_EN_test KC_NO
  133. #define RIGHT0_EN_test KC_NO
  134. #define RIGHT1_EN_test KC_NO
  135. #define RIGHT2_EN_test KC_NO
  136. #define RIGHT3_EN_test KC_NO
  137. // bepo
  138. // mostly normal expected things
  139. #define LEFT0_BP_norm BP_GRV
  140. #define LEFT1_BP_norm BP_GRV
  141. #define LEFT2_BP_norm BP_TAB
  142. #define LEFT3_BP_norm BP_BSLS
  143. #define RIGHT0_BP_norm BP_EQL
  144. #define RIGHT1_BP_norm BP_EQL
  145. #define RIGHT2_BP_norm BP_DV_MINS
  146. #define RIGHT3_BP_norm BP_SLSH
  147. // smart locks mostly, tab, mins
  148. #define LEFT0_BP_sml SML_NAV
  149. #define LEFT1_BP_sml SML_NAV
  150. #define LEFT2_BP_sml KC_TAB
  151. #define LEFT3_BP_sml TT(_ACCENTS_MORTE_BP)
  152. #define RIGHT0_BP_sml SML_KEYPAD_BP
  153. #define RIGHT1_BP_sml SML_KEYPAD_BP
  154. #define RIGHT2_BP_sml BP_MINS
  155. #define RIGHT3_BP_sml TT(_LAYERS)
  156. // empty nokc edges
  157. #define LEFT0_BP_nokc KC_NO
  158. #define LEFT1_BP_nokc KC_NO
  159. #define LEFT2_BP_nokc KC_NO
  160. #define LEFT3_BP_nokc KC_NO
  161. #define RIGHT0_BP_nokc KC_NO
  162. #define RIGHT1_BP_nokc KC_NO
  163. #define RIGHT2_BP_nokc KC_NO
  164. #define RIGHT3_BP_nokc KC_NO
  165. // test edges
  166. #define LEFT0_BP_test KC_NO
  167. #define LEFT1_BP_test KC_NO
  168. #define LEFT2_BP_test KC_NO
  169. #define LEFT3_BP_test KC_NO
  170. #define RIGHT0_BP_test KC_NO
  171. #define RIGHT1_BP_test KC_NO
  172. #define RIGHT2_BP_test KC_NO
  173. #define RIGHT3_BP_test KC_NO
  174. // Edges for the combo reference layers.
  175. #define LEFT0_CB_ref1 L0_CB
  176. #define LEFT1_CB_ref1 L1_CB
  177. #define LEFT2_CB_ref1 L2_CB
  178. #define LEFT3_CB_ref1 L3_CB
  179. #define RIGHT0_CB_ref1 R0_CB
  180. #define RIGHT1_CB_ref1 R1_CB
  181. #define RIGHT2_CB_ref1 R2_CB
  182. #define RIGHT3_CB_ref1 R3_CB
  183. #define LEFT0_CB_ref2 L0_CB2
  184. #define LEFT1_CB_ref2 L1_CB2
  185. #define LEFT2_CB_ref2 L2_CB2
  186. #define LEFT3_CB_ref2 L3_CB2
  187. #define RIGHT0_CB_ref2 R0_CB2
  188. #define RIGHT1_CB_ref2 R1_CB2
  189. #define RIGHT2_CB_ref2 R2_CB2
  190. #define RIGHT3_CB_ref2 R3_CB2
  191. /******************************************************************/
  192. /* Middle Keysets for various keyboards */
  193. // MIDDLES
  194. /// Middle left and right keys.
  195. /******************************************************************/
  196. #define ___MIDDLE_LT___ OSL(_LAYERS)
  197. #define ___MIDDLE_L1___ LANG_KC(_CCCV)
  198. #define ___MIDDLE_L2___ TO(LN_SYMB)
  199. #define ___MIDDLE_L3___ TO(_NAV)
  200. #define ___MIDDLE_RT___ _X_
  201. #define ___MIDDLE_R1___ LANG_KC(_CCCV)
  202. #define ___MIDDLE_R2___ TO(LN_TOPROWS)
  203. #define ___MIDDLE_R3___ ___
  204. // 3 keys in the middle of a 15x matrix
  205. #define ___3_MIDDLE_T___ ___MIDDLE_LT___, LCTL(LANG_KC(_A)), ___MIDDLE_RT___
  206. #define ___3_MIDDLE_1___ ___MIDDLE_L1___, LCTL(LANG_KC(_X)), ___MIDDLE_R1___
  207. #define ___3_MIDDLE_2___ ___MIDDLE_L2___, TO_RGB, ___MIDDLE_R2___
  208. #define ___3_MIDDLE_3___ ___MIDDLE_L3___, TO(LN_SYMB), ___MIDDLE_R3___
  209. // 2 keys in the middle of a 14x matrix - For viterbi and ergodox.
  210. #define ___2_MIDDLE_T___ ___MIDDLE_LT___, ___MIDDLE_RT___
  211. #define ___2_MIDDLE_1___ ___MIDDLE_L1___, ___MIDDLE_R1___
  212. #define ___2_MIDDLE_2___ ___MIDDLE_L2___, ___MIDDLE_R2___
  213. #define ___2_MIDDLE_3___ ___MIDDLE_L3___, ___MIDDLE_R3___
  214. // 2 keys in the middle of a 14x matrix - For viterbi and ergodox.
  215. #define ___3_MIDDLE_T_EN___ ___3_MIDDLE_T___
  216. #define ___3_MIDDLE_1_EN___ ___3_MIDDLE_1___
  217. #define ___3_MIDDLE_2_EN___ ___3_MIDDLE_2___
  218. #define ___3_MIDDLE_3_EN___ ___3_MIDDLE_3___
  219. #define ___2_MIDDLE_T_EN___ ___2_MIDDLE_T___
  220. #define ___2_MIDDLE_1_EN___ ___2_MIDDLE_1___
  221. #define ___2_MIDDLE_2_EN___ ___2_MIDDLE_2___
  222. #define ___2_MIDDLE_3_EN___ ___2_MIDDLE_3___
  223. #define ___3_MIDDLE_T_BP___ ___3_MIDDLE_T___
  224. #define ___3_MIDDLE_1_BP___ ___3_MIDDLE_1___
  225. #define ___3_MIDDLE_2_BP___ ___3_MIDDLE_2___
  226. #define ___3_MIDDLE_3_BP___ ___3_MIDDLE_3___
  227. #define ___2_MIDDLE_T_BP___ ___2_MIDDLE_T___
  228. #define ___2_MIDDLE_1_BP___ ___2_MIDDLE_1___
  229. #define ___2_MIDDLE_2_BP___ ___2_MIDDLE_2___
  230. #define ___2_MIDDLE_3_BP___ ___2_MIDDLE_3___
  231. #define ___2_MIDDLE_T_CB___ CB_0M1, CB_0M2
  232. #define ___2_MIDDLE_1_CB___ CB_1M1, CB_1M2
  233. #define ___2_MIDDLE_2_CB___ CB_2M1, CB_2M2
  234. #define ___2_MIDDLE_3_CB___ CB_3M1, CB_3M2
  235. #define ___2_MIDDLE_4_CB___ CB_4M1, CB_4M2
  236. #define ___3_MIDDLE_T_CB___ CB_0M1, CB_0M2, CB_0M3
  237. #define ___3_MIDDLE_1_CB___ CB_1M1, CB_1M2, CB_1M3
  238. #define ___3_MIDDLE_2_CB___ CB_2M1, CB_2M2, CB_2M3
  239. #define ___3_MIDDLE_3_CB___ CB_3M1, CB_3M2, CB_3M3
  240. #define ___3_MIDDLE_4_CB___ CB_4M1, CB_4M2, CB_4M3
  241. #define ___4_MIDDLE_4_CB___ CB_4M1, CB_4M2, CB_4M3, CB_4M4
  242. #define ___5_MIDDLE_4_CB___ CB_4M1, CB_4M2, CB_4M3, CB_4M4, CB_4M5
  243. #define ___2_MIDDLE_T_CB2___ CB2_0M1, CB2_0M2
  244. #define ___2_MIDDLE_1_CB2___ CB2_1M1, CB2_1M2
  245. #define ___2_MIDDLE_2_CB2___ CB2_2M1, CB2_2M2
  246. #define ___2_MIDDLE_3_CB2___ CB2_3M1, CB2_3M2
  247. #define ___2_MIDDLE_4_CB2___ CB2_4M1, CB2_4M2
  248. #define ___3_MIDDLE_T_CB2___ CB2_0M1, CB2_0M2, CB2_0M3
  249. #define ___3_MIDDLE_1_CB2___ CB2_1M1, CB2_1M2, CB2_1M3
  250. #define ___3_MIDDLE_2_CB2___ CB2_2M1, CB2_2M2, CB2_2M3
  251. #define ___3_MIDDLE_3_CB2___ CB2_3M1, CB2_3M2, CB2_3M3
  252. #define ___3_MIDDLE_4_CB2___ CB2_4M1, CB2_4M2, CB2_4M3
  253. #define ___4_MIDDLE_4_CB2___ CB2_4M1, CB2_4M2, CB2_4M3, CB2_4M4
  254. #define ___5_MIDDLE_4_CB2___ CB2_4M1, CB2_4M2, CB2_4M3, CB2_4M4, CB2_4M5
  255. #define ___4_LEFT_4_CB___ CB_4L1, CB_4L2, CB_4L3, CB_4L4
  256. #define ___4_RIGHT_4_CB___ CB_4R1, CB_4R2, CB_4R3, CB_4R4
  257. #define ___4_LEFT_4_CB2___ CB2_4L1, CB2_4L2, CB2_4L3, CB2_4L4
  258. #define ___4_RIGHT_4_CB2___ CB2_4R1, CB2_4R2, CB2_4R3, CB2_4R4
  259. #define ___5_LEFT_4_CB___ CB_4L1, CB_4L2, CB_4L3, CB_4L4, CB_4L5
  260. #define ___5_RIGHT_4_CB___ CB_4R1, CB_4R2, CB_4R3, CB_4R4, CB_4R5
  261. #define ___5_LEFT_4_CB2___ CB2_4L1, CB2_4L2, CB2_4L3, CB2_4L4, CB2_4L5
  262. #define ___5_RIGHT_4_CB2___ CB2_4R1, CB2_4R2, CB2_4R3, CB2_4R4, CB2_4R5
  263. #define ___13_BOTTOM_CB___ ___5_LEFT_4_CB___, \
  264. ___3_MIDDLE_4_CB___, \
  265. ___5_RIGHT_4_CB___
  266. #define ___12_BOTTOM_CB___ ___5_LEFT_4_CB___, \
  267. ___2_MIDDLE_4_CB___, \
  268. ___5_RIGHT_4_CB___
  269. #define ___13_BOTTOM_CB2___ ___5_LEFT_4_CB2___, \
  270. ___3_MIDDLE_4_CB2___, \
  271. ___5_RIGHT_4_CB2___
  272. #define ___12_BOTTOM_CB2___ ___5_LEFT_4_CB2___, \
  273. ___2_MIDDLE_4_CB2___, \
  274. ___5_RIGHT_4_CB2___
  275. /* BOTTOMS, sorta like THUMBS */
  276. /********************************************************************/
  277. // for xd75 or other layouts with a center column.
  278. // #define ___5_MIDDLE_THUMBS___ CTL_BSPC, ALT_DEL, XMONAD_ESC, ALT_ENT, CTL_SPC
  279. #define ___5_MIDDLE_THUMBS___ ALT_DEL, BSPC_TOPR, ESC_SYMB, ENT_NAV, SPC_TOPR
  280. // for a last, 4th thumb row. for rebound.
  281. // backtab, home end, ----, pgup, pgdn, tab ?
  282. #define ___13_BOTTOM___ \
  283. KC_BKTAB, HOME_END, KC_TAB, TT(_NAV), BSPC_SYMB, ESC_TOPR, \
  284. OSL(_LAYERS), \
  285. ENT_NAV, SPC_TOPR, KC_LEFT, KC_PGUP, KC_PGDN, KC_RIGHT
  286. #define ___13_BOTTOM_EN___ ___13_BOTTOM___
  287. #define ___13_BOTTOM_BP___ ___13_BOTTOM___
  288. #define ___12_BOTTOM___ \
  289. KC_BKTAB, HOME_END, KC_TAB, TT(_NAV), BSPC_SYMB, ESC_TOPR, \
  290. ENT_NAV, SPC_TOPR, KC_LEFT, KC_PGUP, KC_PGDN, KC_RIGHT
  291. #define ___12_BOTTOM_EN___ ___12_BOTTOM___
  292. #define ___12_BOTTOM_BP___ ___12_BOTTOM___
  293. // becomes the upper thumbs, the real 4th row if we throw away
  294. // the number row at the top.
  295. // this is the 4th row on the viterbi above the thumbrow if the number
  296. // row is not used for numbers.
  297. #define ___4_MIDDLE_4___ LSFT(KC_TAB), HOME_END, KC_PGDN, KC_TAB
  298. #define ___4_MIDDLE_4b___ TAB_BKTAB, HOME_END, KC_PGDN, KC_PGUP
  299. /********************************************************************/
  300. /* The bottom row and thumbs as needed. */
  301. /********************************************************************/
  302. // Only the 14 and 15 wide bottom rows have bepo versions.
  303. // all others are handled through macros.
  304. #define ___5_BOTTOM_LEFT___ ___X2___, KC_INS, KC_LEFT, KC_RIGHT
  305. #define ___5_BOTTOM_RIGHT___ KC_UP, KC_DOWN, KC_BSLS, ___X2___
  306. #define ___5_BOTTOM_LEFT_EN___ ___5_BOTTOM_LEFT___
  307. #define ___5_BOTTOM_RIGHT_EN___ ___5_BOTTOM_RIGHT___
  308. #define ___4_BOTTOM_LEFT___ LCTL(KC_V), KC_INS, KC_LEFT, KC_RIGHT
  309. #define ___4_BOTTOM_RIGHT___ KC_UP, KC_DOWN, KC_BSLS, LCTL(KC_C)
  310. #define ___4_BOTTOM_LEFT_EN___ ___4___ //___4_BOTTOM_LEFT___
  311. #define ___4_BOTTOM_RIGHT_EN___ ___4___ //___4_BOTTOM_RIGHT___
  312. // the bottom rows for keyboards on bepo.
  313. // bepo on bepo - not enough space to go around....
  314. #define ___5_BOTTOM_LEFT_BP___ _X_, BP_EACU, _X_, KC_LEFT, KC_RIGHT
  315. #define ___5_BOTTOM_RIGHT_BP___ KC_UP, KC_DOWN, BP_BSLS, BP_CCED, BP_PERC
  316. #define ___4_BOTTOM_LEFT_BP___ LCTL(BP_C), BP_EACU, KC_LEFT, KC_RIGHT
  317. #define ___4_BOTTOM_RIGHT_BP___ KC_UP, KC_DOWN, BP_BSLS, BP_CCED
  318. // for combo ref layers for kinesis, dactyl and kinesis.
  319. #define ___5_BOTTOM_LEFT_FR___ ___X3___, KC_LEFT, KC_RIGHT
  320. #define ___5_BOTTOM_RIGHT_FR___ KC_UP, KC_DOWN, BP_BSLS, ___X2___
  321. #define ___4_BOTTOM_LEFT_CB___ ___4_LEFT_4_CB___
  322. #define ___4_BOTTOM_RIGHT_CB___ ___4_RIGHT_4_CB___
  323. #define ___4_BOTTOM_LEFT_CB2___ ___4_LEFT_4_CB2___
  324. #define ___4_BOTTOM_RIGHT_CB2___ ___4_RIGHT_4_CB2___
  325. #define ___5_BOTTOM_LEFT_CB___ ___5_LEFT_4_CB___
  326. #define ___5_BOTTOM_RIGHT_CB___ ___5_RIGHT_4_CB___
  327. #define ___5_BOTTOM_LEFT_CB2___ ___5_LEFT_4_CB2___
  328. #define ___5_BOTTOM_RIGHT_CB2___ ___5_RIGHT_4_CB2___
  329. // basically a 5th row in a 5x matrix. but maybe a 4th if there isnt a number row.
  330. // need an en, because we a have a BP and we used it directly in the layout.
  331. #define ___15_BOTTOM_EN___ ___5_BOTTOM_LEFT___, ___5_MIDDLE_THUMBS___, ___5_BOTTOM_RIGHT___
  332. #define ___15_BOTTOM_FR___ ___5_BOTTOM_LEFT_FR___, ___5_MIDDLE_THUMBS___, ___5_BOTTOM_RIGHT_FR___
  333. #define ___15_BOTTOM_BP___ ___5_BOTTOM_LEFT_BP___, ___5_MIDDLE_THUMBS___, ___5_BOTTOM_RIGHT_BP___
  334. #define ___15_BOTTOM_CB___ ___5_LEFT_4_CB___, ___5_MIDDLE_4_CB___, ___5_RIGHT_4_CB___
  335. #define ___15_BOTTOM_CB2___ ___5_LEFT_4_CB2___, ___5_MIDDLE_4_CB2___, ___5_RIGHT_4_CB2___
  336. // need an en, because we a have a BP and we used it directly in the layout.
  337. #define ___14_BOTTOM_EN___ ___5_BOTTOM_LEFT___, ___4_MIDDLE_4b___, ___5_BOTTOM_RIGHT___
  338. #define ___14_BOTTOM_FR___ ___5_BOTTOM_LEFT_FR___, ___4_MIDDLE_4b___, ___5_BOTTOM_RIGHT_FR___
  339. #define ___14_BOTTOM_BP___ ___5_BOTTOM_LEFT_BP___, ___4_MIDDLE_4b___, ___5_BOTTOM_RIGHT_BP___
  340. #define ___14_BOTTOM_CB___ ___5_LEFT_4_CB___, ___4_MIDDLE_4_CB___, ___5_RIGHT_4_CB___
  341. #define ___14_BOTTOM_CB2___ ___5_LEFT_4_CB2___, ___4_MIDDLE_4_CB2___, ___5_RIGHT_4_CB2___
  342. #define ___14_THUMBS_BOTTOM___ ___X4___, ___6_ERGO_THUMBS___, ___X4___