-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add new clean user folder and wrappers
- Loading branch information
Showing
16 changed files
with
557 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule firmware
updated
1261 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,52 @@ | ||
#include "edeneast.h" | ||
#include QMK_KEYBOARD_H | ||
|
||
#define LAYOUT_split_3x6_3_WRAPPER(...) LAYOUT_split_3x6_3(__VA_ARGS__) | ||
|
||
// clang-format off | ||
// const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
// [_COLEMAK_DH] = LAYOUT_split_3x6_3_WRAPPER ( | ||
// _________________COLEMAK_DH_L1_________________, _________________COLEMAK_DH_R1_________________, | ||
// _________________COLEMAK_DH_L2_________________, _________________COLEMAK_DH_R2_________________, | ||
// _________________COLEMAK_DH_L3_________________, _________________COLEMAK_DH_R3_________________, | ||
// TB_DFL3,TB_DFL2,TB_DFL1, TB_DFR1,TB_DFR2,TB_DFR3 | ||
// ), | ||
// | ||
// [_SYM] = LAYOUT_split_3x6_3_WRAPPER ( | ||
// ____________________SYMB_L1____________________, ____________________SYMB_R1____________________, | ||
// ____________________SYMB_L2____________________, ____________________SYMB_R2____________________, | ||
// ____________________SYMB_L3____________________, ____________________SYMB_R3____________________, | ||
// TB_SYL3,TB_SYL2,TB_SYL1, TB_SYR1,TB_SYR2,TB_SYR3 | ||
// ), | ||
// | ||
// [_NAV] = LAYOUT_split_3x6_3_WRAPPER ( | ||
// ____________________NAVI_L1____________________, ____________________NAVI_R1____________________, | ||
// ____________________NAVI_L2____________________, ____________________NAVI_R2____________________, | ||
// ____________________NAVI_L3____________________, ____________________NAVI_R3____________________, | ||
// TB_NVL3,TB_NVL2,TB_NVL1, TB_NVR1,TB_NVR2,TB_NVR3 | ||
// ), | ||
// | ||
// [_ADJ] = LAYOUT_split_3x6_3_WRAPPER ( | ||
// _____________________ADJ_L1____________________, _____________________ADJ_R1____________________, | ||
// _____________________ADJ_L2____________________, _____________________ADJ_R2____________________, | ||
// _____________________ADJ_L3____________________, _____________________ADJ_R3____________________, | ||
// TB_AJL3,TB_AJL2,TB_AJL1, TB_AJR1,TB_AJR2,TB_AJR3 | ||
// ), | ||
// | ||
// [_STENO] = LAYOUT_split_3x6_3_WRAPPER ( | ||
// ____________________STENO_L1___________________, ____________________STENO_R1___________________, | ||
// ____________________STENO_L2___________________, ____________________STENO_R2___________________, | ||
// ____________________STENO_L3___________________, ____________________STENO_R3___________________, | ||
// TB_STL3,TB_STL2,TB_STL1, TB_STR1,TB_STR2,TB_STR3 | ||
// ), | ||
// | ||
// [_GAME] = LAYOUT_split_3x6_3_WRAPPER ( | ||
// ____________________GAME_L1____________________, ____________________GAME_R1____________________, | ||
// ____________________GAME_L2____________________, ____________________GAME_R2____________________, | ||
// ____________________GAME_L3____________________, ____________________GAME_R3____________________, | ||
// TB_GML3,TB_GML2,TB_GML1, TB_GMR1,TB_GMR2,TB_GMR3 | ||
// ), | ||
// }; | ||
// | ||
#define LAYOUT_WRAPPER(...) LAYOUT_split_3x6_3(__VA_ARGS__) | ||
#define LAYOUT_base( \ | ||
k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, \ | ||
k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, \ | ||
k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C \ | ||
) \ | ||
LAYOUT_WRAPPER ( \ | ||
k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, \ | ||
k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, \ | ||
k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, \ | ||
_______, SYM_TAB, SFT_BSP, SFT_SPC, NAV_MIN, _______, \ | ||
) | ||
|
||
#define LAYOUT_base_wrapper(...) LAYOUT_base(__VA_ARGS__) | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[_COLEMAK_DH] = LAYOUT_base_wrapper( | ||
___________________COLEMAK_DH_L1____________________, ___________________COLEMAK_DH_R1____________________, | ||
___________________COLEMAK_DH_L2____________________, ___________________COLEMAK_DH_R2____________________, | ||
___________________COLEMAK_DH_L3____________________, ___________________COLEMAK_DH_R3____________________ | ||
), | ||
|
||
[_SYM] = LAYOUT_base_wrapper( | ||
_______________________SYM_L1_______________________, _______________________SYM_R1_______________________, | ||
_______________________SYM_L2_______________________, _______________________SYM_R2_______________________, | ||
_______________________SYM_L3_______________________, _______________________SYM_R3_______________________ | ||
), | ||
|
||
[_NAV] = LAYOUT_base_wrapper( | ||
_______________________NAV_L1_______________________, _______________________NAV_R1_______________________, | ||
_______________________NAV_L2_______________________, _______________________NAV_R2_______________________, | ||
_______________________NAV_L3_______________________, _______________________NAV_R3_______________________ | ||
), | ||
|
||
[_ADJ] = LAYOUT_base_wrapper( | ||
_______________________ADJ_L1_______________________, _______________________ADJ_R1_______________________, | ||
_______________________ADJ_L2_______________________, _______________________ADJ_R2_______________________, | ||
_______________________ADJ_L3_______________________, _______________________ADJ_R3_______________________ | ||
) | ||
|
||
}; | ||
|
||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
// _______, _______, _______, _______, _______, _______ | ||
|
||
// clang-format on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
OLED_ENABLE = yes | ||
OLED_DRIVER = SSD1306 | ||
# OLED_ENABLE = yes | ||
# OLED_DRIVER = SSD1306 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,102 +1,56 @@ | ||
#include "edeneast.h" | ||
#include QMK_KEYBOARD_H | ||
|
||
// clang-format off | ||
#define LAYOUT_WRAPPER(...) LAYOUT(__VA_ARGS__) | ||
#define LAYOUT_base( \ | ||
k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, \ | ||
k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, \ | ||
k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C \ | ||
) \ | ||
LAYOUT_WRAPPER ( \ | ||
k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, \ | ||
k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, \ | ||
k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2C, \ | ||
KC_LEFT, KC_RGHT, KC_UP, KC_DOWN, \ | ||
SYM_TAB, SFT_BSP, SFT_SPC, NAV_MIN, \ | ||
_______,_______, _______,_______, _______,_______, _______,_______ \ | ||
) | ||
|
||
// const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
// | ||
// // clang-format off | ||
// // Base (Colemak-DH) https://colemakmods.github.io/mod-dh/keyboards.html#matrix-keyboards | ||
// [_COLEMAK_DH] = LAYOUT_WRAPPER( | ||
// _________________COLEMAK_DH_L1_________________, _________________COLEMAK_DH_R1_________________, | ||
// _________________COLEMAK_DH_L2_________________, _________________COLEMAK_DH_R2_________________, | ||
// _________________COLEMAK_DH_L3_________________, _________________COLEMAK_DH_R3_________________, | ||
// KC_LEFT,KC_RGHT, KC_UP ,KC_DOWN, | ||
// TB_DFL2,TB_DFL1, TB_DFR1,TB_DFR2, | ||
// KC_ENT ,TB_DFL3, TB_DFR3,_______, | ||
// _______,_______, _______,_______ | ||
// ), | ||
// | ||
// [_SYM] = LAYOUT_WRAPPER( | ||
// ____________________SYMB_L1____________________, ____________________SYMB_R1____________________, | ||
// ____________________SYMB_L2____________________, ____________________SYMB_R2____________________, | ||
// ____________________SYMB_L3____________________, ____________________SYMB_R3____________________, | ||
// _______,_______, _______,_______, | ||
// TB_SYL2,TB_SYL1, TB_SYR1,TB_SYR2, | ||
// _______,TB_SYL3, TB_SYR3,_______, | ||
// _______,_______, _______,_______ | ||
// ), | ||
// | ||
// [_NAV] = LAYOUT_WRAPPER( | ||
// ____________________NAVI_L1____________________, ____________________NAVI_R1____________________, | ||
// ____________________NAVI_L2____________________, ____________________NAVI_R2____________________, | ||
// ____________________NAVI_L3____________________, ____________________NAVI_R3____________________, | ||
// _______,_______, _______,_______, | ||
// TB_NVL2,TB_NVL1, TB_NVR1,TB_NVR2, | ||
// _______,TB_NVL3, TB_NVR3,_______, | ||
// _______,_______, _______,_______ | ||
// ), | ||
// | ||
// [_ADJ] = LAYOUT_WRAPPER( | ||
// _____________________ADJ_L1____________________, _____________________ADJ_R1____________________, | ||
// _____________________ADJ_L2____________________, _____________________ADJ_R2____________________, | ||
// _____________________ADJ_L3____________________, _____________________ADJ_R3____________________, | ||
// _______,_______, _______,_______, | ||
// TB_AJL2,TB_AJL1, TB_AJR1,TB_AJR2, | ||
// _______,TB_AJL3, TB_AJR3,_______, | ||
// _______,_______, _______,_______ | ||
// ), | ||
// | ||
// [_STENO] = LAYOUT_WRAPPER( | ||
// ____________________STENO_L1___________________, ____________________STENO_R1___________________, | ||
// ____________________STENO_L2___________________, ____________________STENO_R2___________________, | ||
// ____________________STENO_L3___________________, ____________________STENO_R3___________________, | ||
// _______,_______, _______,_______, | ||
// TB_STL2,TB_STL1, TB_STR1,TB_STR2, | ||
// _______,TB_STL3, TB_STR3,_______, | ||
// _______,_______, _______,_______ | ||
// ), | ||
// | ||
// [_GAME] = LAYOUT_WRAPPER( | ||
// ____________________GAME_L1____________________, ____________________GAME_R1____________________, | ||
// ____________________GAME_L2____________________, ____________________GAME_R2____________________, | ||
// ____________________GAME_L3____________________, ____________________GAME_R3____________________, | ||
// KC_T ,KC_G , _______,_______, | ||
// TB_GML2,TB_GML1, TB_GMR1,TB_GMR2, | ||
// TG_MIC ,TB_GML3, TB_GMR3,OS_RSFT, | ||
// KC_PAUS,KC_F2 , _______,_______ | ||
// ), | ||
// }; | ||
// | ||
// // --------------------------------------------------------------------------------------------------------------------------- | ||
// | ||
// /** | ||
// * Layer | ||
// * |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| | ||
// * | | | | | | | | | | | | | | | ||
// * |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| | ||
// * | | | | | | | | | | | | | | | ||
// * |-------+-------+-------+-------+-------+-------| |-------+-------+-------+-------+-------+-------| | ||
// * | | | | | | | | | | | | | | | ||
// * +---------------+-------+-------+---------------+ +---------------+-------+-------+---------------+ | ||
// * | | | | | | | ||
// * +---------------+---------------+ +---------------+---------------+ | ||
// * | | | | | | | ||
// * +---------------+ +---------------+ | ||
// * +---------------+ +---------------+ | ||
// * | | | | | | | ||
// * |-------+-------| |-------+-------| | ||
// * | | | | | | | ||
// * +---------------+ +---------------+ | ||
// */ | ||
// /* | ||
// [_layer] = LAYOUT_WRAPPER( | ||
// _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, | ||
// _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, | ||
// _______,_______,_______,_______,_______,_______, _______,_______,_______,_______,_______,_______, | ||
// _______,_______, _______,_______, | ||
// _______,_______, _______,_______, | ||
// _______,_______, _______,_______, | ||
// _______,_______, _______,_______ | ||
// ), | ||
// */ | ||
#define LAYOUT_base_wrapper(...) LAYOUT_base(__VA_ARGS__) | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[_COLEMAK_DH] = LAYOUT_base_wrapper( | ||
___________________COLEMAK_DH_L1____________________, ___________________COLEMAK_DH_R1____________________, | ||
___________________COLEMAK_DH_L2____________________, ___________________COLEMAK_DH_R2____________________, | ||
___________________COLEMAK_DH_L3____________________, ___________________COLEMAK_DH_R3____________________ | ||
), | ||
|
||
[_SYM] = LAYOUT_base_wrapper( | ||
_______________________SYM_L1_______________________, _______________________SYM_R1_______________________, | ||
_______________________SYM_L2_______________________, _______________________SYM_R2_______________________, | ||
_______________________SYM_L3_______________________, _______________________SYM_R3_______________________ | ||
), | ||
|
||
[_NAV] = LAYOUT_base_wrapper( | ||
_______________________NAV_L1_______________________, _______________________NAV_R1_______________________, | ||
_______________________NAV_L2_______________________, _______________________NAV_R2_______________________, | ||
_______________________NAV_L3_______________________, _______________________NAV_R3_______________________ | ||
), | ||
|
||
[_ADJ] = LAYOUT_base_wrapper( | ||
_______________________ADJ_L1_______________________, _______________________ADJ_R1_______________________, | ||
_______________________ADJ_L2_______________________, _______________________ADJ_R2_______________________, | ||
_______________________ADJ_L3_______________________, _______________________ADJ_R3_______________________ | ||
) | ||
|
||
}; | ||
|
||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
// _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
// _______, _______, _______, _______, | ||
// _______, _______, _______, _______, | ||
// _______, _______, _______, _______, | ||
// _______, _______, _______, _______ | ||
|
||
// clang-format on |
Oops, something went wrong.