diff options
Diffstat (limited to 'layouts')
93 files changed, 71 insertions, 1239 deletions
diff --git a/layouts/community/60_ansi/talljoe-ansi/config.h b/layouts/community/60_ansi/talljoe-ansi/config.h index 79cc19001..0c661f568 100644 --- a/layouts/community/60_ansi/talljoe-ansi/config.h +++ b/layouts/community/60_ansi/talljoe-ansi/config.h | |||
| @@ -16,8 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #include QMK_KEYBOARD_CONFIG_H | ||
| 20 | |||
| 21 | #define ENABLE_GAME_LAYER | 19 | #define ENABLE_GAME_LAYER |
| 22 | 20 | ||
| 23 | #define TEMPLATE( \ | 21 | #define TEMPLATE( \ |
diff --git a/layouts/community/60_hhkb/talljoe-hhkb/config.h b/layouts/community/60_hhkb/talljoe-hhkb/config.h index 0424fee1f..4868890d4 100644 --- a/layouts/community/60_hhkb/talljoe-hhkb/config.h +++ b/layouts/community/60_hhkb/talljoe-hhkb/config.h | |||
| @@ -16,8 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #include QMK_KEYBOARD_CONFIG_H | ||
| 20 | |||
| 21 | #define ENABLE_GAME_LAYER | 19 | #define ENABLE_GAME_LAYER |
| 22 | 20 | ||
| 23 | #define TEMPLATE( \ | 21 | #define TEMPLATE( \ |
diff --git a/layouts/community/60_iso/unxmaal/config.h b/layouts/community/60_iso/unxmaal/config.h index 7a500b1bb..4a90186ee 100644 --- a/layouts/community/60_iso/unxmaal/config.h +++ b/layouts/community/60_iso/unxmaal/config.h | |||
| @@ -15,10 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef KEYMAP_CONFIG_H | 18 | #pragma once |
| 19 | #define KEYMAP_CONFIG_H | ||
| 20 | |||
| 21 | #include QMK_KEYBOARD_CONFIG_H | ||
| 22 | 19 | ||
| 23 | #ifndef RGB_DI_PIN | 20 | #ifndef RGB_DI_PIN |
| 24 | #define RGB_DI_PIN F4 | 21 | #define RGB_DI_PIN F4 |
| @@ -28,5 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 28 | #define RGBLIGHT_SAT_STEP 8 | 25 | #define RGBLIGHT_SAT_STEP 8 |
| 29 | #define RGBLIGHT_VAL_STEP 8 | 26 | #define RGBLIGHT_VAL_STEP 8 |
| 30 | #endif | 27 | #endif |
| 31 | |||
| 32 | #endif | ||
diff --git a/layouts/community/60_iso/unxmaal/keymap.c b/layouts/community/60_iso/unxmaal/keymap.c index 9441997b4..e1c0454fb 100644 --- a/layouts/community/60_iso/unxmaal/keymap.c +++ b/layouts/community/60_iso/unxmaal/keymap.c | |||
| @@ -90,52 +90,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 90 | [_UL] = LAYOUT_60_iso( | 90 | [_UL] = LAYOUT_60_iso( |
| 91 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, \ | 91 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, \ |
| 92 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, \ | 92 | KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, \ |
| 93 | KC_TRNS,F(4),F(5),KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, \ | 93 | KC_TRNS,RGB_TOG,RGB_MOD,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, \ |
| 94 | KC_TRNS,KC_TRNS,KC_TRNS,F(6),F(7),F(8),F(9),F(10),F(11),KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, \ | 94 | KC_TRNS,KC_TRNS,KC_TRNS,RGB_HUI,RGB_HUD,RGB_SAI,RGB_SAD,RGB_VAI,RGB_VAD,KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS, \ |
| 95 | KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS), | 95 | KC_TRNS,KC_TRNS,KC_TRNS, KC_TRNS, KC_TRNS,KC_TRNS,KC_TRNS,KC_TRNS), |
| 96 | }; | 96 | }; |
| 97 | 97 | ||
| 98 | enum function_id { | ||
| 99 | RGBLED_TOGGLE, | ||
| 100 | RGBLED_STEP_MODE, | ||
| 101 | RGBLED_INCREASE_HUE, | ||
| 102 | RGBLED_DECREASE_HUE, | ||
| 103 | RGBLED_INCREASE_SAT, | ||
| 104 | RGBLED_DECREASE_SAT, | ||
| 105 | RGBLED_INCREASE_VAL, | ||
| 106 | RGBLED_DECREASE_VAL, | ||
| 107 | SHIFT_ESC, | ||
| 108 | }; | ||
| 109 | |||
| 110 | const uint16_t PROGMEM fn_actions[] = { | ||
| 111 | [4] = ACTION_FUNCTION(RGBLED_TOGGLE), //Turn on/off underglow | ||
| 112 | [5] = ACTION_FUNCTION(RGBLED_STEP_MODE), // Change underglow mode | ||
| 113 | [6] = ACTION_FUNCTION(RGBLED_INCREASE_HUE), | ||
| 114 | [7] = ACTION_FUNCTION(RGBLED_DECREASE_HUE), | ||
| 115 | [8] = ACTION_FUNCTION(RGBLED_INCREASE_SAT), | ||
| 116 | [9] = ACTION_FUNCTION(RGBLED_DECREASE_SAT), | ||
| 117 | [10] = ACTION_FUNCTION(RGBLED_INCREASE_VAL), | ||
| 118 | [11] = ACTION_FUNCTION(RGBLED_DECREASE_VAL), | ||
| 119 | [12] = ACTION_FUNCTION(SHIFT_ESC), | ||
| 120 | }; | ||
| 121 | |||
| 122 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 123 | { | ||
| 124 | // MACRODOWN only works in this function | ||
| 125 | switch(id) { | ||
| 126 | case 0: | ||
| 127 | if (record->event.pressed) { | ||
| 128 | register_code(KC_RSFT); | ||
| 129 | } else { | ||
| 130 | unregister_code(KC_RSFT); | ||
| 131 | } | ||
| 132 | break; | ||
| 133 | } | ||
| 134 | return MACRO_NONE; | ||
| 135 | }; | ||
| 136 | |||
| 137 | void matrix_scan_user(void) { | 98 | void matrix_scan_user(void) { |
| 138 | |||
| 139 | // Layer LED indicators | 99 | // Layer LED indicators |
| 140 | // ESC led on when in function layer, WASD cluster leds enabled when on arrow cluster | 100 | // ESC led on when in function layer, WASD cluster leds enabled when on arrow cluster |
| 141 | #ifdef KEYBOARD_gh60 | 101 | #ifdef KEYBOARD_gh60 |
| @@ -153,75 +113,3 @@ void matrix_scan_user(void) { | |||
| 153 | } | 113 | } |
| 154 | #endif | 114 | #endif |
| 155 | }; | 115 | }; |
| 156 | |||
| 157 | #define MODS_CTRL_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT)) | ||
| 158 | |||
| 159 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 160 | switch (id) { | ||
| 161 | #ifdef RGBLIGHT_ENABLE | ||
| 162 | case RGBLED_TOGGLE: | ||
| 163 | //led operations | ||
| 164 | if (record->event.pressed) { | ||
| 165 | rgblight_toggle(); | ||
| 166 | } | ||
| 167 | break; | ||
| 168 | case RGBLED_INCREASE_HUE: | ||
| 169 | if (record->event.pressed) { | ||
| 170 | rgblight_increase_hue(); | ||
| 171 | } | ||
| 172 | break; | ||
| 173 | case RGBLED_DECREASE_HUE: | ||
| 174 | if (record->event.pressed) { | ||
| 175 | rgblight_decrease_hue(); | ||
| 176 | } | ||
| 177 | break; | ||
| 178 | case RGBLED_INCREASE_SAT: | ||
| 179 | if (record->event.pressed) { | ||
| 180 | rgblight_increase_sat(); | ||
| 181 | } | ||
| 182 | break; | ||
| 183 | case RGBLED_DECREASE_SAT: | ||
| 184 | if (record->event.pressed) { | ||
| 185 | rgblight_decrease_sat(); | ||
| 186 | } | ||
| 187 | break; | ||
| 188 | case RGBLED_INCREASE_VAL: | ||
| 189 | if (record->event.pressed) { | ||
| 190 | rgblight_increase_val(); | ||
| 191 | } | ||
| 192 | break; | ||
| 193 | case RGBLED_DECREASE_VAL: | ||
| 194 | if (record->event.pressed) { | ||
| 195 | rgblight_decrease_val(); | ||
| 196 | } | ||
| 197 | break; | ||
| 198 | case RGBLED_STEP_MODE: | ||
| 199 | if (record->event.pressed) { | ||
| 200 | rgblight_step(); | ||
| 201 | } | ||
| 202 | break; | ||
| 203 | #endif | ||
| 204 | static uint8_t shift_esc_shift_mask; | ||
| 205 | // Shift + ESC = ~ | ||
| 206 | case SHIFT_ESC: | ||
| 207 | shift_esc_shift_mask = get_mods()&MODS_CTRL_MASK; | ||
| 208 | if (record->event.pressed) { | ||
| 209 | if (shift_esc_shift_mask) { | ||
| 210 | add_key(KC_GRV); | ||
| 211 | send_keyboard_report(); | ||
| 212 | } else { | ||
| 213 | add_key(KC_ESC); | ||
| 214 | send_keyboard_report(); | ||
| 215 | } | ||
| 216 | } else { | ||
| 217 | if (shift_esc_shift_mask) { | ||
| 218 | del_key(KC_GRV); | ||
| 219 | send_keyboard_report(); | ||
| 220 | } else { | ||
| 221 | del_key(KC_ESC); | ||
| 222 | send_keyboard_report(); | ||
| 223 | } | ||
| 224 | } | ||
| 225 | break; | ||
| 226 | } | ||
| 227 | }; | ||
diff --git a/layouts/community/66_ansi/xyverz/keymap.c b/layouts/community/66_ansi/xyverz/keymap.c index 521379bde..d7231db5c 100644 --- a/layouts/community/66_ansi/xyverz/keymap.c +++ b/layouts/community/66_ansi/xyverz/keymap.c | |||
| @@ -37,12 +37,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 37 | * `------------------------------------------------------------------' | 37 | * `------------------------------------------------------------------' |
| 38 | */ | 38 | */ |
| 39 | 39 | ||
| 40 | [_QWERTY] = LAYOUT ( | 40 | [_QWERTY] = LAYOUT_66_ansi ( |
| 41 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_GRV, KC_BSPC, KC_PGUP, \ | 41 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGUP, \ |
| 42 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN, \ | 42 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN, \ |
| 43 | FN_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, XXXXXXX, KC_ENT, \ | 43 | FN_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, \ |
| 44 | KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_SLSH, KC_RSFT, KC_UP, \ | 44 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, \ |
| 45 | KC_LCTL, KC_LALT, KC_LGUI, XXXXXXX, KC_SPC, KC_SPC, XXXXXXX, KC_RGUI, KC_RCTL, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT), | 45 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RCTL, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT), |
| 46 | 46 | ||
| 47 | /* Keymap _COLEMAK: Base Layer | 47 | /* Keymap _COLEMAK: Base Layer |
| 48 | * ,-----------------------------------------------------------. ,---. | 48 | * ,-----------------------------------------------------------. ,---. |
| @@ -57,12 +57,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 57 | * |Ctrl|Gui|Alt | | Space| Space| |Alt |Gui |Ctrl|Left|Down|Rgt| | 57 | * |Ctrl|Gui|Alt | | Space| Space| |Alt |Gui |Ctrl|Left|Down|Rgt| |
| 58 | * `------------------------------------------------------------------' | 58 | * `------------------------------------------------------------------' |
| 59 | */ | 59 | */ |
| 60 | [_COLEMAK] = LAYOUT ( | 60 | [_COLEMAK] = LAYOUT_66_ansi ( |
| 61 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_GRV, KC_BSPC, KC_PGUP, \ | 61 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGUP, \ |
| 62 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN, \ | 62 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_LBRC, KC_RBRC, KC_BSLS, KC_PGDN, \ |
| 63 | FN_CAPS, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, XXXXXXX, KC_ENT, \ | 63 | FN_CAPS, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, KC_ENT, \ |
| 64 | KC_LSFT, XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_SLSH, KC_RSFT, KC_UP, \ | 64 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, \ |
| 65 | KC_LCTL, KC_LALT, KC_LGUI, XXXXXXX, KC_SPC, KC_SPC, XXXXXXX, KC_RGUI, KC_RCTL, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT), | 65 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RCTL, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT), |
| 66 | 66 | ||
| 67 | /* Keymap _DVORAK: Base Layer | 67 | /* Keymap _DVORAK: Base Layer |
| 68 | * ,-----------------------------------------------------------. ,---. | 68 | * ,-----------------------------------------------------------. ,---. |
| @@ -77,30 +77,30 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 77 | * |Ctrl|Gui|Alt | | Space| Space| |Alt |Gui |Ctrl|Left|Down|Rgt| | 77 | * |Ctrl|Gui|Alt | | Space| Space| |Alt |Gui |Ctrl|Left|Down|Rgt| |
| 78 | * `------------------------------------------------------------------' | 78 | * `------------------------------------------------------------------' |
| 79 | */ | 79 | */ |
| 80 | [_DVORAK] = LAYOUT ( | 80 | [_DVORAK] = LAYOUT_66_ansi ( |
| 81 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_GRV, KC_BSPC, KC_PGUP, \ | 81 | KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_LBRC, KC_RBRC, KC_BSPC, KC_PGUP, \ |
| 82 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, KC_EQL, KC_BSLS, KC_PGDN, \ | 82 | KC_TAB, KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, KC_EQL, KC_BSLS, KC_PGDN, \ |
| 83 | FN_CAPS, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, XXXXXXX, KC_ENT, \ | 83 | FN_CAPS, KC_A, KC_O, KC_E, KC_U, KC_I, KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, KC_ENT, \ |
| 84 | KC_LSFT, XXXXXXX, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_SLSH, KC_RSFT, KC_UP, \ | 84 | KC_LSFT, KC_SCLN, KC_Q, KC_J, KC_K, KC_X, KC_B, KC_M, KC_W, KC_V, KC_Z, KC_RSFT, KC_UP, \ |
| 85 | KC_LCTL, KC_LALT, KC_LGUI, XXXXXXX, KC_SPC, KC_SPC, XXXXXXX, KC_RGUI, KC_RCTL, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT), | 85 | KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_RGUI, KC_RCTL, MO(_FL), KC_LEFT, KC_DOWN, KC_RGHT), |
| 86 | 86 | ||
| 87 | /* Keymap _FL: Function Layer | 87 | /* Keymap _FL: Function Layer |
| 88 | */ | 88 | */ |
| 89 | [_FL] = LAYOUT ( | 89 | [_FL] = LAYOUT_66_ansi ( |
| 90 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, KC_DEL, BL_STEP, \ | 90 | KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, BL_STEP, \ |
| 91 | _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, _______, _______, _______, _______, \ | 91 | _______, _______, _______, _______, _______, _______, _______, _______, KC_PSCR, KC_SLCK, KC_PAUS, _______, _______, _______, _______, \ |
| 92 | _______, _______, MO(_CL), _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, _______, \ | 92 | _______, _______, MO(_CL), _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, _______, _______, _______, \ |
| 93 | _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, _______, KC_PGUP, \ | 93 | _______, _______, _______, _______, _______, _______, KC_MPRV, KC_MPLY, KC_MNXT, _______, _______, _______, KC_PGUP, \ |
| 94 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END), | 94 | _______, _______, _______, _______, _______, _______, _______, KC_HOME, KC_PGDN, KC_END), |
| 95 | 95 | ||
| 96 | /* Keymap _CL: Control layer | 96 | /* Keymap _CL: Control layer |
| 97 | */ | 97 | */ |
| 98 | [_CL] = LAYOUT ( | 98 | [_CL] = LAYOUT_66_ansi ( |
| 99 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_VAI, \ | 99 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, RGB_VAI, \ |
| 100 | _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAD, \ | 100 | _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_VAD, \ |
| 101 | _______, _______, MO(_CL), _______, _______, _______, _______, QWERTY, COLEMAK, DVORAK, _______, _______, _______, _______, \ | 101 | _______, _______, MO(_CL), _______, _______, _______, _______, QWERTY, COLEMAK, DVORAK, _______, _______, _______, \ |
| 102 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, \ | 102 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SAI, \ |
| 103 | _______, _______, _______, _______, RGB_MOD, RGB_MOD, _______, _______, _______, _______, RGB_HUD, RGB_SAD, RGB_HUI), | 103 | _______, _______, _______, RGB_MOD, _______, _______, _______, RGB_HUD, RGB_SAD, RGB_HUI), |
| 104 | }; | 104 | }; |
| 105 | // clang-format on | 105 | // clang-format on |
| 106 | 106 | ||
diff --git a/layouts/community/66_ansi/xyverz/rules.mk b/layouts/community/66_ansi/xyverz/rules.mk index 164232f33..6ddbb80a9 100644 --- a/layouts/community/66_ansi/xyverz/rules.mk +++ b/layouts/community/66_ansi/xyverz/rules.mk | |||
| @@ -1 +1,3 @@ | |||
| 1 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. \ No newline at end of file | 1 | ifneq ($(strip $(RGBLIGHT_SUPPORTED)), no) |
| 2 | RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | ||
| 3 | endif | ||
diff --git a/layouts/community/75_ansi/spidey3/config.h b/layouts/community/75_ansi/spidey3/config.h index 7fe098f0e..89bd9422a 100644 --- a/layouts/community/75_ansi/spidey3/config.h +++ b/layouts/community/75_ansi/spidey3/config.h | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #define NO_ACTION_ONESHOT | ||
| 4 | #define NO_ACTION_MACRO | 3 | #define NO_ACTION_MACRO |
| 5 | #define NO_ACTION_FUNCTION | 4 | #define NO_ACTION_FUNCTION |
| 6 | #undef LOCKING_SUPPORT_ENABLE | 5 | #undef LOCKING_SUPPORT_ENABLE |
diff --git a/layouts/community/75_ansi/spidey3/keymap.c b/layouts/community/75_ansi/spidey3/keymap.c index d3c4a64ea..d7ffd61a4 100644 --- a/layouts/community/75_ansi/spidey3/keymap.c +++ b/layouts/community/75_ansi/spidey3/keymap.c | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | #define FN_MENU LT(_FN,KC_APP) | 3 | #define FN_MENU LT(_FN,KC_APP) |
| 4 | 4 | ||
| 5 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 5 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| 6 | // Linux / Win layout | 6 | // Base |
| 7 | [_BASE] = LAYOUT_75_ansi( | 7 | [_BASE] = LAYOUT_75_ansi( |
| 8 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_INS, KC_DEL, | 8 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_INS, KC_DEL, |
| 9 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, | 9 | KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_HOME, |
| @@ -12,31 +12,22 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 12 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, | 12 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_END, |
| 13 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, FN_MENU, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | 13 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, FN_MENU, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT |
| 14 | ), | 14 | ), |
| 15 | // OSX layout | ||
| 16 | [_OSX] = LAYOUT_75_ansi( | ||
| 17 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 18 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 19 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 20 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 21 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 22 | _______, KC_LALT, KC_LGUI, _______, _______, _______, _______, _______, _______, _______ | ||
| 23 | ), | ||
| 24 | // Numpad | 15 | // Numpad |
| 25 | [_NUMPAD] = LAYOUT_75_ansi( | 16 | [_NUMPAD] = LAYOUT_75_ansi( |
| 26 | XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_NUMLOCK, KC_PEQL, KC_PSLS, KC_PAST, XXXXXXX, XXXXXXX, _______, _______, _______, | 17 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, |
| 27 | XXXXXXX, XXXXXXX, XXXXXXX, KC_NUMLOCK, XXXXXXX, XXXXXXX, XXXXXXX, KC_KP_7, KC_KP_8, KC_KP_9, KC_PSLS, KC_PMNS, KC_PEQL, _______, _______, | 18 | XXXXXXX, XXXXXXX, XXXXXXX, KC_NUMLOCK, XXXXXXX, XXXXXXX, XXXXXXX, KC_KP_7, KC_KP_8, KC_KP_9, KC_KP_0, KC_PMNS, KC_PEQL, _______, _______, |
| 28 | _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_KP_4, KC_KP_5, KC_KP_6, KC_PAST, _______, _______, _______, _______, | 19 | _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_KP_4, KC_KP_5, KC_KP_6, KC_PCMM, _______, _______, _______, _______, |
| 29 | _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_KP_1, KC_KP_2, KC_KP_3, KC_PMNS, KC_SCLN, KC_PENT, _______, | 20 | KC_NUMLOCK, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_KP_1, KC_KP_2, KC_KP_3, KC_PPLS, KC_PAST, KC_PENT, _______, |
| 30 | _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_KP_0, KC_PDOT, KC_PCMM, KC_PPLS, _______, _______, _______, | 21 | _______, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_KP_0, SPI_KP_00, KC_PDOT, KC_PSLS, _______, _______, _______, |
| 31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | 22 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 32 | ), | 23 | ), |
| 33 | // FN | 24 | // FN |
| 34 | [_FN] = LAYOUT_75_ansi( | 25 | [_FN] = LAYOUT_75_ansi( |
| 35 | RESET, SPI_NORMAL, SPI_WIDE, SPI_SCRIPT, SPI_BLOCKS, SPI_CIRCLE, SPI_SQUARE, SPI_PARENS, SPI_FRAKTR, _______, _______, _______, SPI_GFLOCK, KC_SLEP, KC_WAKE, KC_PWR, | 26 | RESET, SPI_NORMAL, SPI_WIDE, SPI_SCRIPT, SPI_BLOCKS, SPI_CIRCLE, SPI_SQUARE, SPI_PARENS, SPI_FRAKTR, XXXXXXX, XXXXXXX, XXXXXXX, SPI_GFLOCK, KC_SLEP, CH_SUSP, KC_PWR, |
| 36 | EEP_RST, X(SAD), X(MEH), X(HAPPY), X(ANGRY), X(THUMBDN), X(THUMBUP), X(SPIDER), X_BUL, X(LOL), X(SURPRISE),X_DASH, _______, KC_PAUS, KC_SLCK, | 27 | EEP_RST, X(SAD), X(MEH), X(HAPPY), X(ANGRY), X(THUMBDN), X(THUMBUP), X(SPIDER), X_BUL, X(LOL), X(SURPRISE),X_DASH, XXXXXXX, KC_PAUS, KC_SLCK, |
| 37 | _______, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, RGB_SPD, RGB_SPI, VLK_TOG, _______, _______, KC_BRIU, | 28 | XXXXXXX, RGB_TOG, RGB_MOD, RGB_HUD, RGB_HUI, RGB_SAD, RGB_SAI, RGB_VAD, RGB_VAI, RGB_SPD, RGB_SPI, VLK_TOG, XXXXXXX, XXXXXXX, KC_BRIU, |
| 38 | _______, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_G, RGB_M_T, SPI_LNX, _______, _______, _______, KC_BRID, | 29 | XXXXXXX, RGB_M_P, RGB_M_B, RGB_M_R, RGB_M_SW, RGB_M_SN, RGB_M_K, RGB_M_G, RGB_M_T, SPI_LNX, XXXXXXX, XXXXXXX, XXXXXXX, KC_BRID, |
| 39 | _______, SPI_GLO, CH_SUSP, SPI_WIN, _______, NK_TOGG, TG(_NUMPAD),SPI_OSX, X(LARR), X(RARR), DEBUG, _______, KC_VOLU, KC_MUTE, | 30 | _______, SPI_GLO, XXXXXXX, SPI_WIN, UC_MOD, NK_TOGG, TG(_NUMPAD),SPI_OSX, X(LARR), X(RARR), DEBUG, _______, KC_VOLU, KC_MUTE, |
| 40 | _______, _______, _______, KC_MPLY, CH_ASST, _______, CH_CPNL, KC_MPRV, KC_VOLD, KC_MNXT | 31 | _______, _______, _______, KC_MPLY, CH_ASST, _______, CH_CPNL, KC_MPRV, KC_VOLD, KC_MNXT |
| 41 | ) | 32 | ) |
| 42 | }; | 33 | }; |
diff --git a/layouts/community/75_ansi/spidey3/rules.mk b/layouts/community/75_ansi/spidey3/rules.mk index 7d5c56841..10201a585 100644 --- a/layouts/community/75_ansi/spidey3/rules.mk +++ b/layouts/community/75_ansi/spidey3/rules.mk | |||
| @@ -2,8 +2,6 @@ | |||
| 2 | # comment out to disable the options. | 2 | # comment out to disable the options. |
| 3 | # | 3 | # |
| 4 | MOUSEKEY_ENABLE = no # Mouse keys | 4 | MOUSEKEY_ENABLE = no # Mouse keys |
| 5 | CONSOLE_ENABLE = yes # Console for debug | ||
| 6 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 7 | UNICODEMAP_ENABLE = yes | 5 | UNICODEMAP_ENABLE = yes |
| 8 | VELOCIKEY_ENABLE = yes | 6 | VELOCIKEY_ENABLE = yes |
| 9 | GRAVE_ESC_ENABLE = no | 7 | GRAVE_ESC_ENABLE = no |
diff --git a/layouts/community/ergodox/333fred/config.h b/layouts/community/ergodox/333fred/config.h index 0509ddbbb..00ed74781 100644 --- a/layouts/community/ergodox/333fred/config.h +++ b/layouts/community/ergodox/333fred/config.h | |||
| @@ -22,7 +22,5 @@ | |||
| 22 | 22 | ||
| 23 | #pragma once | 23 | #pragma once |
| 24 | 24 | ||
| 25 | #include QMK_KEYBOARD_CONFIG_H | ||
| 26 | |||
| 27 | #undef TAPPING_TERM | 25 | #undef TAPPING_TERM |
| 28 | #define TAPPING_TERM 200 | 26 | #define TAPPING_TERM 200 |
diff --git a/layouts/community/ergodox/adam/config.h b/layouts/community/ergodox/adam/config.h index 1a8fddb50..62e82d8b2 100644 --- a/layouts/community/ergodox/adam/config.h +++ b/layouts/community/ergodox/adam/config.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #include QMK_KEYBOARD_CONFIG_H | 1 | #pragma once |
| 2 | 2 | ||
| 3 | #undef TAPPING_TERM | 3 | #undef TAPPING_TERM |
| 4 | #define TAPPING_TERM 300 //At 500 some bad logic takes hold | 4 | #define TAPPING_TERM 300 //At 500 some bad logic takes hold |
diff --git a/layouts/community/ergodox/adam/keymap.c b/layouts/community/ergodox/adam/keymap.c index d17f0b83b..50270838a 100644 --- a/layouts/community/ergodox/adam/keymap.c +++ b/layouts/community/ergodox/adam/keymap.c | |||
| @@ -127,26 +127,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 127 | ) | 127 | ) |
| 128 | }; | 128 | }; |
| 129 | 129 | ||
| 130 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 131 | { | ||
| 132 | // MACRODOWN only works in this function | ||
| 133 | switch(id) { | ||
| 134 | case 0: | ||
| 135 | if (record->event.pressed) { | ||
| 136 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
| 137 | } | ||
| 138 | break; | ||
| 139 | } | ||
| 140 | |||
| 141 | return MACRO_NONE; | ||
| 142 | }; | ||
| 143 | |||
| 144 | // Runs just one time when the keyboard initializes. | ||
| 145 | void matrix_init_user(void) { | ||
| 146 | |||
| 147 | }; | ||
| 148 | |||
| 149 | |||
| 150 | // Runs constantly in the background, in a loop. | 130 | // Runs constantly in the background, in a loop. |
| 151 | void matrix_scan_user(void) { | 131 | void matrix_scan_user(void) { |
| 152 | uint8_t layer = biton32(layer_state); | 132 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/adnw_k_o_y/keymap.c b/layouts/community/ergodox/adnw_k_o_y/keymap.c index 59ae2681f..6ade0001c 100644 --- a/layouts/community/ergodox/adnw_k_o_y/keymap.c +++ b/layouts/community/ergodox/adnw_k_o_y/keymap.c | |||
| @@ -136,26 +136,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 136 | ), | 136 | ), |
| 137 | }; | 137 | }; |
| 138 | 138 | ||
| 139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 140 | { | ||
| 141 | // MACRODOWN only works in this function | ||
| 142 | switch(id) { | ||
| 143 | case 0: | ||
| 144 | if (record->event.pressed) { | ||
| 145 | register_code(KC_RSFT); | ||
| 146 | } else { | ||
| 147 | unregister_code(KC_RSFT); | ||
| 148 | } | ||
| 149 | break; | ||
| 150 | } | ||
| 151 | return MACRO_NONE; | ||
| 152 | }; | ||
| 153 | |||
| 154 | // Runs just one time when the keyboard initializes. | ||
| 155 | void matrix_init_user(void) { | ||
| 156 | |||
| 157 | }; | ||
| 158 | |||
| 159 | // Runs constantly in the background, in a loop. | 139 | // Runs constantly in the background, in a loop. |
| 160 | void matrix_scan_user(void) { | 140 | void matrix_scan_user(void) { |
| 161 | 141 | ||
diff --git a/layouts/community/ergodox/albert/config.h b/layouts/community/ergodox/albert/config.h index 0c6231fbb..f0f524b30 100644 --- a/layouts/community/ergodox/albert/config.h +++ b/layouts/community/ergodox/albert/config.h | |||
| @@ -1,12 +1,7 @@ | |||
| 1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_CONFIG_H | ||
| 5 | 2 | ||
| 6 | /* using UK layout for space-cadet-shift */ | 3 | /* using UK layout for space-cadet-shift */ |
| 7 | #define LSPO_KEY KC_9 | 4 | #define LSPO_KEY KC_9 |
| 8 | #define RSPC_KEY KC_0 | 5 | #define RSPC_KEY KC_0 |
| 9 | 6 | ||
| 10 | #define LEADER_TIMEOUT 800 // leader key sequence timeout in millis | 7 | #define LEADER_TIMEOUT 800 // leader key sequence timeout in millis |
| 11 | |||
| 12 | #endif | ||
diff --git a/layouts/community/ergodox/algernon/config.h b/layouts/community/ergodox/algernon/config.h index 8c115e21a..583c3911f 100644 --- a/layouts/community/ergodox/algernon/config.h +++ b/layouts/community/ergodox/algernon/config.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | #ifndef CONFIG_ALGERNON_H | 1 | #pragma once |
| 2 | #define CONFIG_ALGERNON_H | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_CONFIG_H | ||
| 5 | 2 | ||
| 6 | #undef MOUSEKEY_TIME_TO_MAX | 3 | #undef MOUSEKEY_TIME_TO_MAX |
| 7 | #undef MOUSEKEY_MAX_SPEED | 4 | #undef MOUSEKEY_MAX_SPEED |
| @@ -23,5 +20,3 @@ | |||
| 23 | 20 | ||
| 24 | #undef LEADER_TIMEOUT | 21 | #undef LEADER_TIMEOUT |
| 25 | #define LEADER_TIMEOUT 1000 | 22 | #define LEADER_TIMEOUT 1000 |
| 26 | |||
| 27 | #endif | ||
diff --git a/layouts/community/ergodox/andrew_osx/keymap.c b/layouts/community/ergodox/andrew_osx/keymap.c index 8fb570bd7..990fea4f4 100644 --- a/layouts/community/ergodox/andrew_osx/keymap.c +++ b/layouts/community/ergodox/andrew_osx/keymap.c | |||
| @@ -138,26 +138,6 @@ LAYOUT_ergodox( | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 142 | { | ||
| 143 | // MACRODOWN only works in this function | ||
| 144 | switch(id) { | ||
| 145 | case 0: | ||
| 146 | if (record->event.pressed) { | ||
| 147 | register_code(KC_RSFT); | ||
| 148 | } else { | ||
| 149 | unregister_code(KC_RSFT); | ||
| 150 | } | ||
| 151 | break; | ||
| 152 | } | ||
| 153 | return MACRO_NONE; | ||
| 154 | }; | ||
| 155 | |||
| 156 | // Runs just one time when the keyboard initializes. | ||
| 157 | void matrix_init_user(void) { | ||
| 158 | |||
| 159 | }; | ||
| 160 | |||
| 161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
| 162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
| 163 | 143 | ||
diff --git a/layouts/community/ergodox/berfarah/config.h b/layouts/community/ergodox/berfarah/config.h index 4acefdecc..0acb95b85 100644 --- a/layouts/community/ergodox/berfarah/config.h +++ b/layouts/community/ergodox/berfarah/config.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | #ifndef CONFIG_BERFARAH_H | 1 | #pragma once |
| 2 | #define CONFIG_BERFARAH_H | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_CONFIG_H | ||
| 5 | 2 | ||
| 6 | #undef TAPPING_TERM | 3 | #undef TAPPING_TERM |
| 7 | #define TAPPING_TERM 150 | 4 | #define TAPPING_TERM 150 |
| @@ -10,4 +7,3 @@ | |||
| 10 | #define RGBLIGHT_EFFECT_BREATHE_MAX 150 | 7 | #define RGBLIGHT_EFFECT_BREATHE_MAX 150 |
| 11 | 8 | ||
| 12 | #undef IGNORE_MOD_TAP_INTERRUPT | 9 | #undef IGNORE_MOD_TAP_INTERRUPT |
| 13 | #endif | ||
diff --git a/layouts/community/ergodox/coderkun_neo2/keymap.c b/layouts/community/ergodox/coderkun_neo2/keymap.c index d1fcea9c9..a6fe61079 100644 --- a/layouts/community/ergodox/coderkun_neo2/keymap.c +++ b/layouts/community/ergodox/coderkun_neo2/keymap.c | |||
| @@ -221,25 +221,6 @@ const uint16_t PROGMEM fn_actions[] = { | |||
| 221 | [PMN] = ACTION_FUNCTION(PMN), | 221 | [PMN] = ACTION_FUNCTION(PMN), |
| 222 | }; | 222 | }; |
| 223 | 223 | ||
| 224 | |||
| 225 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 226 | { | ||
| 227 | // MACRODOWN only works in this function | ||
| 228 | switch(id) { | ||
| 229 | case 0: | ||
| 230 | if (record->event.pressed) { | ||
| 231 | register_code(KC_RSFT); | ||
| 232 | } | ||
| 233 | else { | ||
| 234 | unregister_code(KC_RSFT); | ||
| 235 | } | ||
| 236 | break; | ||
| 237 | } | ||
| 238 | |||
| 239 | return MACRO_NONE; | ||
| 240 | }; | ||
| 241 | |||
| 242 | |||
| 243 | // Runs just one time when the keyboard initializes. | 224 | // Runs just one time when the keyboard initializes. |
| 244 | void matrix_init_user(void) { | 225 | void matrix_init_user(void) { |
| 245 | set_unicode_input_mode(UC_LNX); | 226 | set_unicode_input_mode(UC_LNX); |
diff --git a/layouts/community/ergodox/colemak/keymap.c b/layouts/community/ergodox/colemak/keymap.c index 83c77e4a3..54b0c5834 100644 --- a/layouts/community/ergodox/colemak/keymap.c +++ b/layouts/community/ergodox/colemak/keymap.c | |||
| @@ -135,26 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
diff --git a/layouts/community/ergodox/dave/keymap.c b/layouts/community/ergodox/dave/keymap.c index f47f88142..efa270c40 100644 --- a/layouts/community/ergodox/dave/keymap.c +++ b/layouts/community/ergodox/dave/keymap.c | |||
| @@ -137,26 +137,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 137 | ), | 137 | ), |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 141 | { | ||
| 142 | // MACRODOWN only works in this function | ||
| 143 | switch(id) { | ||
| 144 | case 0: | ||
| 145 | if (record->event.pressed) { | ||
| 146 | register_code(KC_RSFT); | ||
| 147 | } else { | ||
| 148 | unregister_code(KC_RSFT); | ||
| 149 | } | ||
| 150 | break; | ||
| 151 | } | ||
| 152 | return MACRO_NONE; | ||
| 153 | }; | ||
| 154 | |||
| 155 | // Runs just one time when the keyboard initializes. | ||
| 156 | void matrix_init_user(void) { | ||
| 157 | |||
| 158 | }; | ||
| 159 | |||
| 160 | // Runs constantly in the background, in a loop. | 140 | // Runs constantly in the background, in a loop. |
| 161 | void matrix_scan_user(void) { | 141 | void matrix_scan_user(void) { |
| 162 | /* leds is a static array holding the current brightness of each of the | 142 | /* leds is a static array holding the current brightness of each of the |
diff --git a/layouts/community/ergodox/dragon788/keymap.c b/layouts/community/ergodox/dragon788/keymap.c index 7377128ec..e77786485 100644 --- a/layouts/community/ergodox/dragon788/keymap.c +++ b/layouts/community/ergodox/dragon788/keymap.c | |||
| @@ -180,26 +180,6 @@ LAYOUT_ergodox( | |||
| 180 | 180 | ||
| 181 | }; | 181 | }; |
| 182 | 182 | ||
| 183 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 184 | { | ||
| 185 | // MACRODOWN only works in this function | ||
| 186 | switch(id) { | ||
| 187 | case 0: | ||
| 188 | if (record->event.pressed) { | ||
| 189 | register_code(KC_RSFT); | ||
| 190 | } else { | ||
| 191 | unregister_code(KC_RSFT); | ||
| 192 | } | ||
| 193 | break; | ||
| 194 | } | ||
| 195 | return MACRO_NONE; | ||
| 196 | }; | ||
| 197 | |||
| 198 | // Runs just one time when the keyboard initializes. | ||
| 199 | void matrix_init_user(void) { | ||
| 200 | |||
| 201 | }; | ||
| 202 | |||
| 203 | // Runs constantly in the background, in a loop. | 183 | // Runs constantly in the background, in a loop. |
| 204 | void matrix_scan_user(void) { | 184 | void matrix_scan_user(void) { |
| 205 | 185 | ||
diff --git a/layouts/community/ergodox/dvorak/keymap.c b/layouts/community/ergodox/dvorak/keymap.c index 4d8483f54..68b575fd6 100644 --- a/layouts/community/ergodox/dvorak/keymap.c +++ b/layouts/community/ergodox/dvorak/keymap.c | |||
| @@ -135,26 +135,6 @@ LAYOUT_ergodox( | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
diff --git a/layouts/community/ergodox/dvorak_emacs/keymap.c b/layouts/community/ergodox/dvorak_emacs/keymap.c index 244dfe521..6055fd770 100644 --- a/layouts/community/ergodox/dvorak_emacs/keymap.c +++ b/layouts/community/ergodox/dvorak_emacs/keymap.c | |||
| @@ -117,26 +117,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 117 | ), | 117 | ), |
| 118 | }; | 118 | }; |
| 119 | 119 | ||
| 120 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 121 | { | ||
| 122 | // MACRODOWN only works in this function | ||
| 123 | switch(id) { | ||
| 124 | case 0: | ||
| 125 | if (record->event.pressed) { | ||
| 126 | register_code(KC_RSFT); | ||
| 127 | } else { | ||
| 128 | unregister_code(KC_RSFT); | ||
| 129 | } | ||
| 130 | break; | ||
| 131 | } | ||
| 132 | return MACRO_NONE; | ||
| 133 | }; | ||
| 134 | |||
| 135 | // Runs just one time when the keyboard initializes. | ||
| 136 | void matrix_init_user(void) { | ||
| 137 | |||
| 138 | }; | ||
| 139 | |||
| 140 | // Runs constantly in the background, in a loop. | 120 | // Runs constantly in the background, in a loop. |
| 141 | void matrix_scan_user(void) { | 121 | void matrix_scan_user(void) { |
| 142 | 122 | ||
diff --git a/layouts/community/ergodox/dvorak_emacs_software/keymap.c b/layouts/community/ergodox/dvorak_emacs_software/keymap.c index 720dcde12..4f90f193c 100644 --- a/layouts/community/ergodox/dvorak_emacs_software/keymap.c +++ b/layouts/community/ergodox/dvorak_emacs_software/keymap.c | |||
| @@ -118,26 +118,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 118 | ), | 118 | ), |
| 119 | }; | 119 | }; |
| 120 | 120 | ||
| 121 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 122 | { | ||
| 123 | // MACRODOWN only works in this function | ||
| 124 | switch(id) { | ||
| 125 | case 0: | ||
| 126 | if (record->event.pressed) { | ||
| 127 | register_code(KC_RSFT); | ||
| 128 | } else { | ||
| 129 | unregister_code(KC_RSFT); | ||
| 130 | } | ||
| 131 | break; | ||
| 132 | } | ||
| 133 | return MACRO_NONE; | ||
| 134 | }; | ||
| 135 | |||
| 136 | // Runs just one time when the keyboard initializes. | ||
| 137 | void matrix_init_user(void) { | ||
| 138 | |||
| 139 | }; | ||
| 140 | |||
| 141 | // Runs constantly in the background, in a loop. | 121 | // Runs constantly in the background, in a loop. |
| 142 | void matrix_scan_user(void) { | 122 | void matrix_scan_user(void) { |
| 143 | 123 | ||
diff --git a/layouts/community/ergodox/dvorak_intl_squisher/keymap.c b/layouts/community/ergodox/dvorak_intl_squisher/keymap.c index 98e288516..3ebbd2df0 100644 --- a/layouts/community/ergodox/dvorak_intl_squisher/keymap.c +++ b/layouts/community/ergodox/dvorak_intl_squisher/keymap.c | |||
| @@ -136,26 +136,6 @@ LAYOUT_ergodox( // layer 0 : default | |||
| 136 | ), | 136 | ), |
| 137 | }; | 137 | }; |
| 138 | 138 | ||
| 139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 140 | { | ||
| 141 | // MACRODOWN only works in this function | ||
| 142 | switch(id) { | ||
| 143 | case 0: | ||
| 144 | if (record->event.pressed) { | ||
| 145 | register_code(KC_RSFT); | ||
| 146 | } else { | ||
| 147 | unregister_code(KC_RSFT); | ||
| 148 | } | ||
| 149 | break; | ||
| 150 | } | ||
| 151 | return MACRO_NONE; | ||
| 152 | }; | ||
| 153 | |||
| 154 | // Runs just one time when the keyboard initializes. | ||
| 155 | void matrix_init_user(void) { | ||
| 156 | |||
| 157 | }; | ||
| 158 | |||
| 159 | // Runs constantly in the background, in a loop. | 139 | // Runs constantly in the background, in a loop. |
| 160 | void matrix_scan_user(void) { | 140 | void matrix_scan_user(void) { |
| 161 | 141 | ||
diff --git a/layouts/community/ergodox/dvorak_plover/keymap.c b/layouts/community/ergodox/dvorak_plover/keymap.c index 24746c751..882a351d1 100644 --- a/layouts/community/ergodox/dvorak_plover/keymap.c +++ b/layouts/community/ergodox/dvorak_plover/keymap.c | |||
| @@ -178,26 +178,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 178 | ), | 178 | ), |
| 179 | }; | 179 | }; |
| 180 | 180 | ||
| 181 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 182 | { | ||
| 183 | // MACRODOWN only works in this function | ||
| 184 | switch(id) { | ||
| 185 | case 0: | ||
| 186 | if (record->event.pressed) { | ||
| 187 | register_code(KC_RSFT); | ||
| 188 | } else { | ||
| 189 | unregister_code(KC_RSFT); | ||
| 190 | } | ||
| 191 | break; | ||
| 192 | } | ||
| 193 | return MACRO_NONE; | ||
| 194 | }; | ||
| 195 | |||
| 196 | // Runs just one time when the keyboard initializes. | ||
| 197 | void matrix_init_user(void) { | ||
| 198 | |||
| 199 | }; | ||
| 200 | |||
| 201 | // Runs constantly in the background, in a loop. | 181 | // Runs constantly in the background, in a loop. |
| 202 | void matrix_scan_user(void) { | 182 | void matrix_scan_user(void) { |
| 203 | 183 | ||
diff --git a/layouts/community/ergodox/emacs_osx_dk/keymap.c b/layouts/community/ergodox/emacs_osx_dk/keymap.c index c34d9f65b..1de894616 100644 --- a/layouts/community/ergodox/emacs_osx_dk/keymap.c +++ b/layouts/community/ergodox/emacs_osx_dk/keymap.c | |||
| @@ -135,26 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
diff --git a/layouts/community/ergodox/german-kinergo/keymap.c b/layouts/community/ergodox/german-kinergo/keymap.c index 20651df0f..d9c297814 100644 --- a/layouts/community/ergodox/german-kinergo/keymap.c +++ b/layouts/community/ergodox/german-kinergo/keymap.c | |||
| @@ -162,26 +162,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 162 | ), | 162 | ), |
| 163 | }; | 163 | }; |
| 164 | 164 | ||
| 165 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 166 | { | ||
| 167 | // MACRODOWN only works in this function | ||
| 168 | switch(id) { | ||
| 169 | case 0: | ||
| 170 | if (record->event.pressed) { | ||
| 171 | register_code(KC_RSFT); | ||
| 172 | } else { | ||
| 173 | unregister_code(KC_RSFT); | ||
| 174 | } | ||
| 175 | break; | ||
| 176 | } | ||
| 177 | return MACRO_NONE; | ||
| 178 | }; | ||
| 179 | |||
| 180 | // Runs just one time when the keyboard initializes. | ||
| 181 | void matrix_init_user(void) { | ||
| 182 | |||
| 183 | }; | ||
| 184 | |||
| 185 | // Runs constantly in the background, in a loop. | 165 | // Runs constantly in the background, in a loop. |
| 186 | void matrix_scan_user(void) { | 166 | void matrix_scan_user(void) { |
| 187 | 167 | ||
diff --git a/layouts/community/ergodox/german-lukas/keymap.c b/layouts/community/ergodox/german-lukas/keymap.c index 373a1e044..cbc51c695 100644 --- a/layouts/community/ergodox/german-lukas/keymap.c +++ b/layouts/community/ergodox/german-lukas/keymap.c | |||
| @@ -185,26 +185,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 185 | ), | 185 | ), |
| 186 | }; | 186 | }; |
| 187 | 187 | ||
| 188 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 189 | { | ||
| 190 | // MACRODOWN only works in this function | ||
| 191 | switch(id) { | ||
| 192 | case 0: | ||
| 193 | if (record->event.pressed) { | ||
| 194 | register_code(KC_RSFT); | ||
| 195 | } else { | ||
| 196 | unregister_code(KC_RSFT); | ||
| 197 | } | ||
| 198 | break; | ||
| 199 | } | ||
| 200 | return MACRO_NONE; | ||
| 201 | }; | ||
| 202 | |||
| 203 | // Runs just one time when the keyboard initializes. | ||
| 204 | void matrix_init_user(void) { | ||
| 205 | |||
| 206 | }; | ||
| 207 | |||
| 208 | // Runs constantly in the background, in a loop. | 188 | // Runs constantly in the background, in a loop. |
| 209 | void matrix_scan_user(void) { | 189 | void matrix_scan_user(void) { |
| 210 | 190 | ||
diff --git a/layouts/community/ergodox/german/keymap.c b/layouts/community/ergodox/german/keymap.c index 83ead2eb2..c64057dc4 100644 --- a/layouts/community/ergodox/german/keymap.c +++ b/layouts/community/ergodox/german/keymap.c | |||
| @@ -137,26 +137,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 137 | ), | 137 | ), |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 141 | { | ||
| 142 | // MACRODOWN only works in this function | ||
| 143 | switch(id) { | ||
| 144 | case 0: | ||
| 145 | if (record->event.pressed) { | ||
| 146 | register_code(KC_RSFT); | ||
| 147 | } else { | ||
| 148 | unregister_code(KC_RSFT); | ||
| 149 | } | ||
| 150 | break; | ||
| 151 | } | ||
| 152 | return MACRO_NONE; | ||
| 153 | }; | ||
| 154 | |||
| 155 | // Runs just one time when the keyboard initializes. | ||
| 156 | void matrix_init_user(void) { | ||
| 157 | |||
| 158 | }; | ||
| 159 | |||
| 160 | // Runs constantly in the background, in a loop. | 140 | // Runs constantly in the background, in a loop. |
| 161 | void matrix_scan_user(void) { | 141 | void matrix_scan_user(void) { |
| 162 | 142 | ||
diff --git a/layouts/community/ergodox/guni/keymap.c b/layouts/community/ergodox/guni/keymap.c index ff1dd72eb..0707bcf77 100644 --- a/layouts/community/ergodox/guni/keymap.c +++ b/layouts/community/ergodox/guni/keymap.c | |||
| @@ -127,28 +127,6 @@ const uint16_t PROGMEM fn_actions[] = { | |||
| 127 | [26] = ACTION_LAYER_SET(1, ON_PRESS), | 127 | [26] = ACTION_LAYER_SET(1, ON_PRESS), |
| 128 | }; | 128 | }; |
| 129 | 129 | ||
| 130 | |||
| 131 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 132 | { | ||
| 133 | // MACRODOWN only works in this function | ||
| 134 | switch(id) { | ||
| 135 | case 0: | ||
| 136 | if (record->event.pressed) { | ||
| 137 | register_code(KC_RSFT); | ||
| 138 | } else { | ||
| 139 | unregister_code(KC_RSFT); | ||
| 140 | } | ||
| 141 | break; | ||
| 142 | } | ||
| 143 | return MACRO_NONE; | ||
| 144 | }; | ||
| 145 | |||
| 146 | // Runs just one time when the keyboard initializes. | ||
| 147 | void matrix_init_user(void) { | ||
| 148 | |||
| 149 | }; | ||
| 150 | |||
| 151 | |||
| 152 | void action_function(keyrecord_t *event, uint8_t id, uint8_t opt) | 130 | void action_function(keyrecord_t *event, uint8_t id, uint8_t opt) |
| 153 | { | 131 | { |
| 154 | 132 | ||
diff --git a/layouts/community/ergodox/haegin/keymap.c b/layouts/community/ergodox/haegin/keymap.c index b7e382957..fbbe3e72e 100644 --- a/layouts/community/ergodox/haegin/keymap.c +++ b/layouts/community/ergodox/haegin/keymap.c | |||
| @@ -223,26 +223,6 @@ qk_tap_dance_action_t tap_dance_actions[] = { | |||
| 223 | [TD_BSPC] = ACTION_TAP_DANCE_FN_ADVANCED (dance_backspace, dance_backspace_ended, dance_backspace_reset) | 223 | [TD_BSPC] = ACTION_TAP_DANCE_FN_ADVANCED (dance_backspace, dance_backspace_ended, dance_backspace_reset) |
| 224 | }; | 224 | }; |
| 225 | 225 | ||
| 226 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 227 | { | ||
| 228 | // MACRODOWN only works in this function | ||
| 229 | switch(id) { | ||
| 230 | case 0: | ||
| 231 | if (record->event.pressed) { | ||
| 232 | register_code(KC_RSFT); | ||
| 233 | } else { | ||
| 234 | unregister_code(KC_RSFT); | ||
| 235 | } | ||
| 236 | break; | ||
| 237 | } | ||
| 238 | return MACRO_NONE; | ||
| 239 | }; | ||
| 240 | |||
| 241 | // Runs just one time when the keyboard initializes. | ||
| 242 | void matrix_init_user(void) { | ||
| 243 | |||
| 244 | }; | ||
| 245 | |||
| 246 | // Runs constantly in the background, in a loop. | 226 | // Runs constantly in the background, in a loop. |
| 247 | void matrix_scan_user(void) { | 227 | void matrix_scan_user(void) { |
| 248 | 228 | ||
diff --git a/layouts/community/ergodox/issmirnov/config.h b/layouts/community/ergodox/issmirnov/config.h index fe62a7d1d..32f7aeccc 100644 --- a/layouts/community/ergodox/issmirnov/config.h +++ b/layouts/community/ergodox/issmirnov/config.h | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | // Reference: https://beta.docs.qmk.fm/reference/config-options | 1 | // Reference: https://beta.docs.qmk.fm/reference/config-options |
| 2 | // and https://github.com/qmk/qmk_firmware/blob/master/docs/config_options.md | 2 | // and https://github.com/qmk/qmk_firmware/blob/master/docs/config_options.md |
| 3 | #include QMK_KEYBOARD_CONFIG_H | 3 | #pragma once |
diff --git a/layouts/community/ergodox/j3rn/keymap.c b/layouts/community/ergodox/j3rn/keymap.c index ae084b6e9..5081ddf52 100644 --- a/layouts/community/ergodox/j3rn/keymap.c +++ b/layouts/community/ergodox/j3rn/keymap.c | |||
| @@ -138,26 +138,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 142 | { | ||
| 143 | // MACRODOWN only works in this function | ||
| 144 | switch(id) { | ||
| 145 | case 0: | ||
| 146 | if (record->event.pressed) { | ||
| 147 | register_code(KC_RSFT); | ||
| 148 | } else { | ||
| 149 | unregister_code(KC_RSFT); | ||
| 150 | } | ||
| 151 | break; | ||
| 152 | } | ||
| 153 | return MACRO_NONE; | ||
| 154 | }; | ||
| 155 | |||
| 156 | // Runs just one time when the keyboard initializes. | ||
| 157 | void matrix_init_user(void) { | ||
| 158 | |||
| 159 | }; | ||
| 160 | |||
| 161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
| 162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
| 163 | 143 | ||
diff --git a/layouts/community/ergodox/jackhumbert/config.h b/layouts/community/ergodox/jackhumbert/config.h index 04bbed611..0aca0d691 100644 --- a/layouts/community/ergodox/jackhumbert/config.h +++ b/layouts/community/ergodox/jackhumbert/config.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_CONFIG_H | ||
| 5 | 2 | ||
| 6 | /* ws2812 RGB LED */ | 3 | /* ws2812 RGB LED */ |
| 7 | #define RGB_DI_PIN D7 | 4 | #define RGB_DI_PIN D7 |
| @@ -13,5 +10,3 @@ | |||
| 13 | 10 | ||
| 14 | #define RGB_MIDI | 11 | #define RGB_MIDI |
| 15 | #define RGBW_BB_TWI | 12 | #define RGBW_BB_TWI |
| 16 | |||
| 17 | #endif \ No newline at end of file | ||
diff --git a/layouts/community/ergodox/jacobono/keymap.c b/layouts/community/ergodox/jacobono/keymap.c index 62858f8dd..e97209fc8 100644 --- a/layouts/community/ergodox/jacobono/keymap.c +++ b/layouts/community/ergodox/jacobono/keymap.c | |||
| @@ -224,26 +224,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 224 | KC_TRNS, KC_TRNS, KC_WBAK), | 224 | KC_TRNS, KC_TRNS, KC_WBAK), |
| 225 | }; | 225 | }; |
| 226 | 226 | ||
| 227 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 228 | { | ||
| 229 | // MACRODOWN only works in this function | ||
| 230 | switch(id) { | ||
| 231 | case 0: | ||
| 232 | if (record->event.pressed) { | ||
| 233 | register_code(KC_RSFT); | ||
| 234 | } else { | ||
| 235 | unregister_code(KC_RSFT); | ||
| 236 | } | ||
| 237 | break; | ||
| 238 | } | ||
| 239 | return MACRO_NONE; | ||
| 240 | }; | ||
| 241 | |||
| 242 | // Runs just one time when the keyboard initializes. | ||
| 243 | void matrix_init_user(void) { | ||
| 244 | |||
| 245 | }; | ||
| 246 | |||
| 247 | // Runs constantly in the background, in a loop. | 227 | // Runs constantly in the background, in a loop. |
| 248 | void matrix_scan_user(void) { | 228 | void matrix_scan_user(void) { |
| 249 | 229 | ||
diff --git a/layouts/community/ergodox/jafo/keymap.c b/layouts/community/ergodox/jafo/keymap.c index 4737ab710..b8b8e6351 100644 --- a/layouts/community/ergodox/jafo/keymap.c +++ b/layouts/community/ergodox/jafo/keymap.c | |||
| @@ -136,24 +136,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 136 | ), | 136 | ), |
| 137 | }; | 137 | }; |
| 138 | 138 | ||
| 139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 140 | { | ||
| 141 | // MACRODOWN only works in this function | ||
| 142 | switch(id) { | ||
| 143 | case 0: | ||
| 144 | if (record->event.pressed) { | ||
| 145 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
| 146 | } | ||
| 147 | break; | ||
| 148 | } | ||
| 149 | return MACRO_NONE; | ||
| 150 | }; | ||
| 151 | |||
| 152 | // Runs just one time when the keyboard initializes. | ||
| 153 | void matrix_init_user(void) { | ||
| 154 | |||
| 155 | }; | ||
| 156 | |||
| 157 | // Runs constantly in the background, in a loop. | 139 | // Runs constantly in the background, in a loop. |
| 158 | void matrix_scan_user(void) { | 140 | void matrix_scan_user(void) { |
| 159 | 141 | ||
diff --git a/layouts/community/ergodox/jgarr/keymap.c b/layouts/community/ergodox/jgarr/keymap.c index 84b573aca..ac4e56226 100644 --- a/layouts/community/ergodox/jgarr/keymap.c +++ b/layouts/community/ergodox/jgarr/keymap.c | |||
| @@ -135,26 +135,6 @@ LAYOUT_ergodox( | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
diff --git a/layouts/community/ergodox/kastyle/keymap.c b/layouts/community/ergodox/kastyle/keymap.c index 32eec96f5..c9789955b 100644 --- a/layouts/community/ergodox/kastyle/keymap.c +++ b/layouts/community/ergodox/kastyle/keymap.c | |||
| @@ -140,26 +140,6 @@ LAYOUT_ergodox( | |||
| 140 | ), | 140 | ), |
| 141 | }; | 141 | }; |
| 142 | 142 | ||
| 143 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 144 | { | ||
| 145 | // MACRODOWN only works in this function | ||
| 146 | switch(id) { | ||
| 147 | case 0: | ||
| 148 | if (record->event.pressed) { | ||
| 149 | register_code(KC_RSFT); | ||
| 150 | } else { | ||
| 151 | unregister_code(KC_RSFT); | ||
| 152 | } | ||
| 153 | break; | ||
| 154 | } | ||
| 155 | return MACRO_NONE; | ||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs just one time when the keyboard initializes. | ||
| 159 | void matrix_init_user(void) { | ||
| 160 | |||
| 161 | }; | ||
| 162 | |||
| 163 | // Runs constantly in the background, in a loop. | 143 | // Runs constantly in the background, in a loop. |
| 164 | void matrix_scan_user(void) { | 144 | void matrix_scan_user(void) { |
| 165 | 145 | ||
diff --git a/layouts/community/ergodox/kejadlen/config.h b/layouts/community/ergodox/kejadlen/config.h index 9e076dead..4e554e8a1 100644 --- a/layouts/community/ergodox/kejadlen/config.h +++ b/layouts/community/ergodox/kejadlen/config.h | |||
| @@ -1,11 +1,6 @@ | |||
| 1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_CONFIG_H | ||
| 5 | 2 | ||
| 6 | #define FORCE_NKRO | 3 | #define FORCE_NKRO |
| 7 | 4 | ||
| 8 | #undef TAPPING_TERM | 5 | #undef TAPPING_TERM |
| 9 | #undef IGNORE_MOD_TAP_INTERRUPT | 6 | #undef IGNORE_MOD_TAP_INTERRUPT |
| 10 | |||
| 11 | #endif | ||
diff --git a/layouts/community/ergodox/kejadlen/keymap.c b/layouts/community/ergodox/kejadlen/keymap.c index cfeb70430..6ce209f80 100644 --- a/layouts/community/ergodox/kejadlen/keymap.c +++ b/layouts/community/ergodox/kejadlen/keymap.c | |||
| @@ -73,17 +73,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 73 | ), | 73 | ), |
| 74 | }; | 74 | }; |
| 75 | 75 | ||
| 76 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 77 | switch(id) { | ||
| 78 | case TEENSY: | ||
| 79 | break; | ||
| 80 | } | ||
| 81 | return MACRO_NONE; | ||
| 82 | }; | ||
| 83 | |||
| 84 | void matrix_init_user(void) { | ||
| 85 | }; | ||
| 86 | |||
| 87 | void matrix_scan_user(void) { | 76 | void matrix_scan_user(void) { |
| 88 | uint8_t layer = biton32(layer_state); | 77 | uint8_t layer = biton32(layer_state); |
| 89 | 78 | ||
diff --git a/layouts/community/ergodox/kines-ish/keymap.c b/layouts/community/ergodox/kines-ish/keymap.c index 6f0d99d8d..8acab5ca5 100644 --- a/layouts/community/ergodox/kines-ish/keymap.c +++ b/layouts/community/ergodox/kines-ish/keymap.c | |||
| @@ -135,26 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
diff --git a/layouts/community/ergodox/maz/keymap.c b/layouts/community/ergodox/maz/keymap.c index c36821ded..3244f2152 100644 --- a/layouts/community/ergodox/maz/keymap.c +++ b/layouts/community/ergodox/maz/keymap.c | |||
| @@ -180,26 +180,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 180 | ), | 180 | ), |
| 181 | }; | 181 | }; |
| 182 | 182 | ||
| 183 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 184 | { | ||
| 185 | // MACRODOWN only works in this function | ||
| 186 | switch(id) { | ||
| 187 | case 0: | ||
| 188 | if (record->event.pressed) { | ||
| 189 | register_code(KC_RSFT); | ||
| 190 | } else { | ||
| 191 | unregister_code(KC_RSFT); | ||
| 192 | } | ||
| 193 | break; | ||
| 194 | } | ||
| 195 | return MACRO_NONE; | ||
| 196 | }; | ||
| 197 | |||
| 198 | // Runs just one time when the keyboard initializes. | ||
| 199 | void matrix_init_user(void) { | ||
| 200 | |||
| 201 | }; | ||
| 202 | |||
| 203 | // Runs constantly in the background, in a loop. | 183 | // Runs constantly in the background, in a loop. |
| 204 | void matrix_scan_user(void) { | 184 | void matrix_scan_user(void) { |
| 205 | 185 | ||
diff --git a/layouts/community/ergodox/mclennon_osx/keymap.c b/layouts/community/ergodox/mclennon_osx/keymap.c index aeea456ec..72e9d505a 100644 --- a/layouts/community/ergodox/mclennon_osx/keymap.c +++ b/layouts/community/ergodox/mclennon_osx/keymap.c | |||
| @@ -95,26 +95,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 95 | ), | 95 | ), |
| 96 | }; | 96 | }; |
| 97 | 97 | ||
| 98 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 99 | { | ||
| 100 | // MACRODOWN only works in this function | ||
| 101 | switch(id) { | ||
| 102 | case 0: | ||
| 103 | if (record->event.pressed) { | ||
| 104 | register_code(KC_RSFT); | ||
| 105 | } else { | ||
| 106 | unregister_code(KC_RSFT); | ||
| 107 | } | ||
| 108 | break; | ||
| 109 | } | ||
| 110 | return MACRO_NONE; | ||
| 111 | }; | ||
| 112 | |||
| 113 | // Runs just one time when the keyboard initializes. | ||
| 114 | void matrix_init_user(void) { | ||
| 115 | |||
| 116 | }; | ||
| 117 | |||
| 118 | // Runs constantly in the background, in a loop. | 98 | // Runs constantly in the background, in a loop. |
| 119 | void matrix_scan_user(void) { | 99 | void matrix_scan_user(void) { |
| 120 | 100 | ||
diff --git a/layouts/community/ergodox/msc/keymap.c b/layouts/community/ergodox/msc/keymap.c index 62c2ec7b5..5d9de3239 100644 --- a/layouts/community/ergodox/msc/keymap.c +++ b/layouts/community/ergodox/msc/keymap.c | |||
| @@ -135,26 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
diff --git a/layouts/community/ergodox/naps62/keymap.c b/layouts/community/ergodox/naps62/keymap.c index a242a14fe..230b3376b 100644 --- a/layouts/community/ergodox/naps62/keymap.c +++ b/layouts/community/ergodox/naps62/keymap.c | |||
| @@ -138,26 +138,6 @@ LAYOUT_ergodox( | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 142 | { | ||
| 143 | // MACRODOWN only works in this function | ||
| 144 | switch(id) { | ||
| 145 | case 0: | ||
| 146 | if (record->event.pressed) { | ||
| 147 | register_code(KC_RSFT); | ||
| 148 | } else { | ||
| 149 | unregister_code(KC_RSFT); | ||
| 150 | } | ||
| 151 | break; | ||
| 152 | } | ||
| 153 | return MACRO_NONE; | ||
| 154 | }; | ||
| 155 | |||
| 156 | // Runs just one time when the keyboard initializes. | ||
| 157 | void matrix_init_user(void) { | ||
| 158 | |||
| 159 | }; | ||
| 160 | |||
| 161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
| 162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
| 163 | 143 | ||
diff --git a/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c b/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c index f93f03e92..85782dda7 100644 --- a/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c +++ b/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c | |||
| @@ -342,28 +342,6 @@ void unicode_action_function(uint16_t hi, uint16_t lo) { | |||
| 342 | } | 342 | } |
| 343 | } | 343 | } |
| 344 | 344 | ||
| 345 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 346 | if (!record->event.pressed) { | ||
| 347 | return MACRO_NONE; | ||
| 348 | } | ||
| 349 | // MACRODOWN only works in this function | ||
| 350 | switch(id) { | ||
| 351 | case UM: | ||
| 352 | unicode_mode = (unicode_mode + 1) % 2; | ||
| 353 | break; | ||
| 354 | |||
| 355 | |||
| 356 | default: | ||
| 357 | break; | ||
| 358 | } | ||
| 359 | return MACRO_NONE; | ||
| 360 | }; | ||
| 361 | |||
| 362 | // Runs just one time when the keyboard initializes. | ||
| 363 | void matrix_init_user(void) { | ||
| 364 | |||
| 365 | }; | ||
| 366 | |||
| 367 | // Runs constantly in the background, in a loop. | 345 | // Runs constantly in the background, in a loop. |
| 368 | void matrix_scan_user(void) { | 346 | void matrix_scan_user(void) { |
| 369 | uint8_t layer = biton32(layer_state); | 347 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/osx_de_adnw_koy/keymap.c b/layouts/community/ergodox/osx_de_adnw_koy/keymap.c index 8fc0f1fd9..08b11cccd 100644 --- a/layouts/community/ergodox/osx_de_adnw_koy/keymap.c +++ b/layouts/community/ergodox/osx_de_adnw_koy/keymap.c | |||
| @@ -122,34 +122,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 122 | KC_TRNS, KC_TRNS, KC_TRNS), | 122 | KC_TRNS, KC_TRNS, KC_TRNS), |
| 123 | }; | 123 | }; |
| 124 | 124 | ||
| 125 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 126 | { | ||
| 127 | switch(id) { | ||
| 128 | case UNUSED: | ||
| 129 | //Macro: UNUSED//----------------------- | ||
| 130 | |||
| 131 | |||
| 132 | |||
| 133 | |||
| 134 | |||
| 135 | if (record->event.pressed) { | ||
| 136 | register_code(KC_RSFT); | ||
| 137 | } else { | ||
| 138 | unregister_code(KC_RSFT); | ||
| 139 | } | ||
| 140 | |||
| 141 | |||
| 142 | |||
| 143 | break; | ||
| 144 | } | ||
| 145 | return MACRO_NONE; | ||
| 146 | }; | ||
| 147 | |||
| 148 | // Runs just one time when the keyboard initializes. | ||
| 149 | void matrix_init_user(void) { | ||
| 150 | |||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs constantly in the background, in a loop. | 125 | // Runs constantly in the background, in a loop. |
| 154 | void matrix_scan_user(void) { | 126 | void matrix_scan_user(void) { |
| 155 | 127 | ||
diff --git a/layouts/community/ergodox/osx_fr/keymap.c b/layouts/community/ergodox/osx_fr/keymap.c index dba9bf32b..09ef0edb6 100644 --- a/layouts/community/ergodox/osx_fr/keymap.c +++ b/layouts/community/ergodox/osx_fr/keymap.c | |||
| @@ -138,26 +138,6 @@ LAYOUT_ergodox( | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 142 | { | ||
| 143 | // MACRODOWN only works in this function | ||
| 144 | switch(id) { | ||
| 145 | case 0: | ||
| 146 | if (record->event.pressed) { | ||
| 147 | register_code(KC_RSFT); | ||
| 148 | } else { | ||
| 149 | unregister_code(KC_RSFT); | ||
| 150 | } | ||
| 151 | break; | ||
| 152 | } | ||
| 153 | return MACRO_NONE; | ||
| 154 | }; | ||
| 155 | |||
| 156 | // Runs just one time when the keyboard initializes. | ||
| 157 | void matrix_init_user(void) { | ||
| 158 | |||
| 159 | }; | ||
| 160 | |||
| 161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
| 162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
| 163 | 143 | ||
diff --git a/layouts/community/ergodox/osx_kinesis_pnut/keymap.c b/layouts/community/ergodox/osx_kinesis_pnut/keymap.c index 21e383bd2..ad6ea2736 100644 --- a/layouts/community/ergodox/osx_kinesis_pnut/keymap.c +++ b/layouts/community/ergodox/osx_kinesis_pnut/keymap.c | |||
| @@ -142,26 +142,6 @@ LAYOUT_ergodox( | |||
| 142 | ), | 142 | ), |
| 143 | }; | 143 | }; |
| 144 | 144 | ||
| 145 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 146 | { | ||
| 147 | // MACRODOWN only works in this function | ||
| 148 | switch(id) { | ||
| 149 | case 0: | ||
| 150 | if (record->event.pressed) { | ||
| 151 | register_code(KC_RSFT); | ||
| 152 | } else { | ||
| 153 | unregister_code(KC_RSFT); | ||
| 154 | } | ||
| 155 | break; | ||
| 156 | } | ||
| 157 | return MACRO_NONE; | ||
| 158 | }; | ||
| 159 | |||
| 160 | // Runs just one time when the keyboard initializes. | ||
| 161 | void matrix_init_user(void) { | ||
| 162 | |||
| 163 | }; | ||
| 164 | |||
| 165 | // Runs constantly in the background, in a loop. | 145 | // Runs constantly in the background, in a loop. |
| 166 | void matrix_scan_user(void) { | 146 | void matrix_scan_user(void) { |
| 167 | 147 | ||
diff --git a/layouts/community/ergodox/phoenix/keymap.c b/layouts/community/ergodox/phoenix/keymap.c index b9be7e2b8..a66462e3a 100644 --- a/layouts/community/ergodox/phoenix/keymap.c +++ b/layouts/community/ergodox/phoenix/keymap.c | |||
| @@ -135,26 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
diff --git a/layouts/community/ergodox/plover/keymap.c b/layouts/community/ergodox/plover/keymap.c index 0ab60ffbb..b19634643 100644 --- a/layouts/community/ergodox/plover/keymap.c +++ b/layouts/community/ergodox/plover/keymap.c | |||
| @@ -179,26 +179,6 @@ LAYOUT_ergodox( | |||
| 179 | ), | 179 | ), |
| 180 | }; | 180 | }; |
| 181 | 181 | ||
| 182 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 183 | { | ||
| 184 | // MACRODOWN only works in this function | ||
| 185 | switch(id) { | ||
| 186 | case 0: | ||
| 187 | if (record->event.pressed) { | ||
| 188 | register_code(KC_RSFT); | ||
| 189 | } else { | ||
| 190 | unregister_code(KC_RSFT); | ||
| 191 | } | ||
| 192 | break; | ||
| 193 | } | ||
| 194 | return MACRO_NONE; | ||
| 195 | }; | ||
| 196 | |||
| 197 | // Runs just one time when the keyboard initializes. | ||
| 198 | void matrix_init_user(void) { | ||
| 199 | |||
| 200 | }; | ||
| 201 | |||
| 202 | // Runs constantly in the background, in a loop. | 182 | // Runs constantly in the background, in a loop. |
| 203 | void matrix_scan_user(void) { | 183 | void matrix_scan_user(void) { |
| 204 | 184 | ||
diff --git a/layouts/community/ergodox/robot_test_layout/keymap.c b/layouts/community/ergodox/robot_test_layout/keymap.c index 07b294a98..4bdda3ae8 100644 --- a/layouts/community/ergodox/robot_test_layout/keymap.c +++ b/layouts/community/ergodox/robot_test_layout/keymap.c | |||
| @@ -43,18 +43,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 43 | ) | 43 | ) |
| 44 | }; | 44 | }; |
| 45 | 45 | ||
| 46 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 47 | { | ||
| 48 | switch(id) { | ||
| 49 | case 0: | ||
| 50 | if (record->event.pressed) { | ||
| 51 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
| 52 | } | ||
| 53 | break; | ||
| 54 | } | ||
| 55 | return MACRO_NONE; | ||
| 56 | }; | ||
| 57 | |||
| 58 | bool status_led1_on = false, status_led2_on = false, status_led3_on = false; | 46 | bool status_led1_on = false, status_led2_on = false, status_led3_on = false; |
| 59 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 47 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
| 60 | switch (keycode) { | 48 | switch (keycode) { |
diff --git a/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c index caead7e16..c8ee21990 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c | |||
| @@ -26,10 +26,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 26 | ) | 26 | ) |
| 27 | }; | 27 | }; |
| 28 | 28 | ||
| 29 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 30 | return MACRO_NONE; | ||
| 31 | }; | ||
| 32 | |||
| 33 | // Runs just one time when the keyboard initializes. | 29 | // Runs just one time when the keyboard initializes. |
| 34 | void matrix_init_user(void) { | 30 | void matrix_init_user(void) { |
| 35 | ergodox_board_led_off(); | 31 | ergodox_board_led_off(); |
| @@ -37,7 +33,3 @@ void matrix_init_user(void) { | |||
| 37 | ergodox_right_led_2_off(); | 33 | ergodox_right_led_2_off(); |
| 38 | ergodox_right_led_3_off(); | 34 | ergodox_right_led_3_off(); |
| 39 | }; | 35 | }; |
| 40 | |||
| 41 | // Runs constantly in the background, in a loop. | ||
| 42 | void matrix_scan_user(void) { | ||
| 43 | }; | ||
diff --git a/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c index 866aa22f9..819944121 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c | |||
| @@ -86,25 +86,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 86 | ), | 86 | ), |
| 87 | }; | 87 | }; |
| 88 | 88 | ||
| 89 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 90 | { | ||
| 91 | // MACRODOWN only works in this function | ||
| 92 | switch(id) { | ||
| 93 | case 0: | ||
| 94 | if (record->event.pressed) { | ||
| 95 | register_code(KC_RSFT); | ||
| 96 | } else { | ||
| 97 | unregister_code(KC_RSFT); | ||
| 98 | } | ||
| 99 | break; | ||
| 100 | } | ||
| 101 | return MACRO_NONE; | ||
| 102 | }; | ||
| 103 | |||
| 104 | // Runs just one time when the keyboard initializes. | ||
| 105 | void matrix_init_user(void) { | ||
| 106 | }; | ||
| 107 | |||
| 108 | // Runs constantly in the background, in a loop. | 89 | // Runs constantly in the background, in a loop. |
| 109 | void matrix_scan_user(void) { | 90 | void matrix_scan_user(void) { |
| 110 | uint8_t layer = biton32(layer_state); | 91 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c index 08aad4f22..a0964fac7 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c | |||
| @@ -86,25 +86,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 86 | ), | 86 | ), |
| 87 | }; | 87 | }; |
| 88 | 88 | ||
| 89 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 90 | { | ||
| 91 | // MACRODOWN only works in this function | ||
| 92 | switch(id) { | ||
| 93 | case 0: | ||
| 94 | if (record->event.pressed) { | ||
| 95 | register_code(KC_RSFT); | ||
| 96 | } else { | ||
| 97 | unregister_code(KC_RSFT); | ||
| 98 | } | ||
| 99 | break; | ||
| 100 | } | ||
| 101 | return MACRO_NONE; | ||
| 102 | }; | ||
| 103 | |||
| 104 | // Runs just one time when the keyboard initializes. | ||
| 105 | void matrix_init_user(void) { | ||
| 106 | }; | ||
| 107 | |||
| 108 | // Runs constantly in the background, in a loop. | 89 | // Runs constantly in the background, in a loop. |
| 109 | void matrix_scan_user(void) { | 90 | void matrix_scan_user(void) { |
| 110 | uint8_t layer = biton32(layer_state); | 91 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/keymap.c index ffa106f70..6aca3a6d5 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/keymap.c | |||
| @@ -46,14 +46,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 46 | ), | 46 | ), |
| 47 | }; | 47 | }; |
| 48 | 48 | ||
| 49 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 50 | return MACRO_NONE; | ||
| 51 | }; | ||
| 52 | |||
| 53 | // Runs just one time when the keyboard initializes. | ||
| 54 | void matrix_init_user(void) { | ||
| 55 | }; | ||
| 56 | |||
| 57 | // Runs constantly in the background, in a loop. | 49 | // Runs constantly in the background, in a loop. |
| 58 | void matrix_scan_user(void) { | 50 | void matrix_scan_user(void) { |
| 59 | uint8_t layer = biton32(layer_state); | 51 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/siroken3/keymap.c b/layouts/community/ergodox/siroken3/keymap.c index 98422b440..fed8b4a0c 100644 --- a/layouts/community/ergodox/siroken3/keymap.c +++ b/layouts/community/ergodox/siroken3/keymap.c | |||
| @@ -138,26 +138,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 142 | { | ||
| 143 | // MACRODOWN only works in this function | ||
| 144 | switch(id) { | ||
| 145 | case 0: | ||
| 146 | if (record->event.pressed) { | ||
| 147 | register_code(KC_RSFT); | ||
| 148 | } else { | ||
| 149 | unregister_code(KC_RSFT); | ||
| 150 | } | ||
| 151 | break; | ||
| 152 | } | ||
| 153 | return MACRO_NONE; | ||
| 154 | }; | ||
| 155 | |||
| 156 | // Runs just one time when the keyboard initializes. | ||
| 157 | void matrix_init_user(void) { | ||
| 158 | |||
| 159 | }; | ||
| 160 | |||
| 161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
| 162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
| 163 | 143 | ||
diff --git a/layouts/community/ergodox/sneako/keymap.c b/layouts/community/ergodox/sneako/keymap.c index 313e597d7..9d3cdd5a1 100644 --- a/layouts/community/ergodox/sneako/keymap.c +++ b/layouts/community/ergodox/sneako/keymap.c | |||
| @@ -138,26 +138,6 @@ LAYOUT_ergodox( | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 142 | { | ||
| 143 | // MACRODOWN only works in this function | ||
| 144 | switch(id) { | ||
| 145 | case 0: | ||
| 146 | if (record->event.pressed) { | ||
| 147 | register_code(KC_RSFT); | ||
| 148 | } else { | ||
| 149 | unregister_code(KC_RSFT); | ||
| 150 | } | ||
| 151 | break; | ||
| 152 | } | ||
| 153 | return MACRO_NONE; | ||
| 154 | }; | ||
| 155 | |||
| 156 | // Runs just one time when the keyboard initializes. | ||
| 157 | void matrix_init_user(void) { | ||
| 158 | |||
| 159 | }; | ||
| 160 | |||
| 161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
| 162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
| 163 | 143 | ||
diff --git a/layouts/community/ergodox/software_neo2/keymap.c b/layouts/community/ergodox/software_neo2/keymap.c index 73e0694ba..8f7337601 100644 --- a/layouts/community/ergodox/software_neo2/keymap.c +++ b/layouts/community/ergodox/software_neo2/keymap.c | |||
| @@ -95,26 +95,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 95 | ), | 95 | ), |
| 96 | }; | 96 | }; |
| 97 | 97 | ||
| 98 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 99 | { | ||
| 100 | // MACRODOWN only works in this function | ||
| 101 | switch(id) { | ||
| 102 | case 0: | ||
| 103 | if (record->event.pressed) { | ||
| 104 | register_code(KC_RSFT); | ||
| 105 | } else { | ||
| 106 | unregister_code(KC_RSFT); | ||
| 107 | } | ||
| 108 | break; | ||
| 109 | } | ||
| 110 | return MACRO_NONE; | ||
| 111 | }; | ||
| 112 | |||
| 113 | // Runs just one time when the keyboard initializes. | ||
| 114 | void matrix_init_user(void) { | ||
| 115 | |||
| 116 | }; | ||
| 117 | |||
| 118 | // Runs constantly in the background, in a loop. | 98 | // Runs constantly in the background, in a loop. |
| 119 | void matrix_scan_user(void) { | 99 | void matrix_scan_user(void) { |
| 120 | 100 | ||
diff --git a/layouts/community/ergodox/supercoder/config.h b/layouts/community/ergodox/supercoder/config.h index 8c191a87c..0212a4bcf 100644 --- a/layouts/community/ergodox/supercoder/config.h +++ b/layouts/community/ergodox/supercoder/config.h | |||
| @@ -1,9 +1,4 @@ | |||
| 1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
| 2 | #define CONFIG_USER_H 1 | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_CONFIG_H | ||
| 5 | 2 | ||
| 6 | #undef LOCKING_SUPPORT_ENABLE | 3 | #undef LOCKING_SUPPORT_ENABLE |
| 7 | #undef LOCKING_RESYNC_ENABLE | 4 | #undef LOCKING_RESYNC_ENABLE |
| 8 | |||
| 9 | #endif | ||
diff --git a/layouts/community/ergodox/supercoder/keymap.c b/layouts/community/ergodox/supercoder/keymap.c index 3aa34a8e4..9efe09fcf 100644 --- a/layouts/community/ergodox/supercoder/keymap.c +++ b/layouts/community/ergodox/supercoder/keymap.c | |||
| @@ -57,16 +57,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 57 | ,KC_ENT ,KC_ENT ,KC_ENT | 57 | ,KC_ENT ,KC_ENT ,KC_ENT |
| 58 | ), | 58 | ), |
| 59 | }; | 59 | }; |
| 60 | |||
| 61 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 62 | { | ||
| 63 | return MACRO_NONE; | ||
| 64 | }; | ||
| 65 | |||
| 66 | // Runs just one time when the keyboard initializes. | ||
| 67 | void matrix_init_user(void) { | ||
| 68 | }; | ||
| 69 | |||
| 70 | // Runs constantly in the background, in a loop. | ||
| 71 | void matrix_scan_user(void) { | ||
| 72 | } | ||
diff --git a/layouts/community/ergodox/swedish/keymap.c b/layouts/community/ergodox/swedish/keymap.c index 454dcc35c..8ef15d097 100644 --- a/layouts/community/ergodox/swedish/keymap.c +++ b/layouts/community/ergodox/swedish/keymap.c | |||
| @@ -167,24 +167,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 167 | ), | 167 | ), |
| 168 | }; | 168 | }; |
| 169 | 169 | ||
| 170 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 171 | { | ||
| 172 | // MACRODOWN only works in this function | ||
| 173 | switch(id) { | ||
| 174 | case 0: | ||
| 175 | if (record->event.pressed) { | ||
| 176 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
| 177 | } | ||
| 178 | break; | ||
| 179 | case 1: | ||
| 180 | if (record->event.pressed) { // For resetting EEPROM | ||
| 181 | eeconfig_init(); | ||
| 182 | } | ||
| 183 | break; | ||
| 184 | } | ||
| 185 | return MACRO_NONE; | ||
| 186 | }; | ||
| 187 | |||
| 188 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 170 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
| 189 | switch (keycode) { | 171 | switch (keycode) { |
| 190 | // dynamically generate these. | 172 | // dynamically generate these. |
diff --git a/layouts/community/ergodox/techtomas/keymap.c b/layouts/community/ergodox/techtomas/keymap.c index 07228c4c0..742eca03a 100644 --- a/layouts/community/ergodox/techtomas/keymap.c +++ b/layouts/community/ergodox/techtomas/keymap.c | |||
| @@ -177,26 +177,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 177 | ), | 177 | ), |
| 178 | }; | 178 | }; |
| 179 | 179 | ||
| 180 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 181 | { | ||
| 182 | // MACRODOWN only works in this function | ||
| 183 | switch(id) { | ||
| 184 | case 0: | ||
| 185 | if (record->event.pressed) { | ||
| 186 | register_code(KC_RSFT); | ||
| 187 | } else { | ||
| 188 | unregister_code(KC_RSFT); | ||
| 189 | } | ||
| 190 | break; | ||
| 191 | } | ||
| 192 | return MACRO_NONE; | ||
| 193 | }; | ||
| 194 | |||
| 195 | // Runs just one time when the keyboard initializes. | ||
| 196 | void matrix_init_user(void) { | ||
| 197 | |||
| 198 | }; | ||
| 199 | |||
| 200 | // Runs constantly in the background, in a loop. | 180 | // Runs constantly in the background, in a loop. |
| 201 | void matrix_scan_user(void) { | 181 | void matrix_scan_user(void) { |
| 202 | 182 | ||
diff --git a/layouts/community/ergodox/tkuichooseyou/keymap.c b/layouts/community/ergodox/tkuichooseyou/keymap.c index 9141cd1c7..ea6c8f259 100644 --- a/layouts/community/ergodox/tkuichooseyou/keymap.c +++ b/layouts/community/ergodox/tkuichooseyou/keymap.c | |||
| @@ -135,26 +135,6 @@ LAYOUT_ergodox( | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
diff --git a/layouts/community/ergodox/tonyabra_osx/keymap.c b/layouts/community/ergodox/tonyabra_osx/keymap.c index 469c21944..741a6396e 100644 --- a/layouts/community/ergodox/tonyabra_osx/keymap.c +++ b/layouts/community/ergodox/tonyabra_osx/keymap.c | |||
| @@ -135,26 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
diff --git a/layouts/community/ergodox/townk_osx/config.h b/layouts/community/ergodox/townk_osx/config.h index 59b3188df..c817dadf5 100644 --- a/layouts/community/ergodox/townk_osx/config.h +++ b/layouts/community/ergodox/townk_osx/config.h | |||
| @@ -16,10 +16,8 @@ You should have received a copy of the GNU General Public License | |||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ | 17 | */ |
| 18 | 18 | ||
| 19 | #ifndef CONFIG_H | 19 | #pragma once |
| 20 | #define CONFIG_H | ||
| 21 | 20 | ||
| 22 | #include QMK_KEYBOARD_CONFIG_H | ||
| 23 | /* | 21 | /* |
| 24 | * Feature disable options | 22 | * Feature disable options |
| 25 | * These options are also useful to firmware size reduction. | 23 | * These options are also useful to firmware size reduction. |
| @@ -40,5 +38,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | //#define DEBUG_MATRIX_SCAN_RATE | 38 | //#define DEBUG_MATRIX_SCAN_RATE |
| 41 | #define ONESHOT_TAP_TOGGLE 2 | 39 | #define ONESHOT_TAP_TOGGLE 2 |
| 42 | #define ONESHOT_TIMEOUT 3000 | 40 | #define ONESHOT_TIMEOUT 3000 |
| 43 | |||
| 44 | #endif | ||
diff --git a/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c b/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c index 6bca18316..4b5181a70 100644 --- a/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c +++ b/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c | |||
| @@ -173,18 +173,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 173 | 173 | ||
| 174 | }; | 174 | }; |
| 175 | 175 | ||
| 176 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 177 | { | ||
| 178 | switch(id) { | ||
| 179 | case 0: | ||
| 180 | if (record->event.pressed) { | ||
| 181 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
| 182 | } | ||
| 183 | break; | ||
| 184 | } | ||
| 185 | return MACRO_NONE; | ||
| 186 | }; | ||
| 187 | |||
| 188 | void matrix_scan_user(void) { | 176 | void matrix_scan_user(void) { |
| 189 | 177 | ||
| 190 | uint8_t layer = biton32(layer_state); | 178 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/videck/config.h b/layouts/community/ergodox/videck/config.h index b18b7fa9a..e44dcd37c 100644 --- a/layouts/community/ergodox/videck/config.h +++ b/layouts/community/ergodox/videck/config.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | #ifndef CONFIG_USER_H | 1 | #pragma once |
| 2 | #define CONFIG_USER_H | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_CONFIG_H | ||
| 5 | 2 | ||
| 6 | #ifndef NO_DEBUG | 3 | #ifndef NO_DEBUG |
| 7 | #define NO_DEBUG | 4 | #define NO_DEBUG |
| @@ -9,5 +6,3 @@ | |||
| 9 | #ifndef NO_PRINT | 6 | #ifndef NO_PRINT |
| 10 | #define NO_PRINT | 7 | #define NO_PRINT |
| 11 | #endif | 8 | #endif |
| 12 | |||
| 13 | #endif | ||
diff --git a/layouts/community/ergodox/win10_writers-block/config.h b/layouts/community/ergodox/win10_writers-block/config.h index b0b4a1ebb..ca75f83aa 100644 --- a/layouts/community/ergodox/win10_writers-block/config.h +++ b/layouts/community/ergodox/win10_writers-block/config.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | #ifndef KEYBOARDS_ERGODOX_CONFIG_H_ | 1 | #pragma once |
| 2 | #define KEYBOARDS_ERGODOX_CONFIG_H_ | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_CONFIG_H | ||
| 5 | 2 | ||
| 6 | #undef MOUSEKEY_DELAY | 3 | #undef MOUSEKEY_DELAY |
| 7 | #undef MOUSEKEY_INTERVAL | 4 | #undef MOUSEKEY_INTERVAL |
| @@ -31,5 +28,3 @@ | |||
| 31 | get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ | 28 | get_mods() == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \ |
| 32 | get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ | 29 | get_mods() == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \ |
| 33 | ) | 30 | ) |
| 34 | |||
| 35 | #endif /* KEYBOARDS_ERGODOX_CONFIG_H_ */ | ||
diff --git a/layouts/community/ergodox/yoruian/keymap.c b/layouts/community/ergodox/yoruian/keymap.c index b304fa070..a5ffcd886 100644 --- a/layouts/community/ergodox/yoruian/keymap.c +++ b/layouts/community/ergodox/yoruian/keymap.c | |||
| @@ -37,13 +37,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 37 | TR, TR, TR, TR, TR, TR), | 37 | TR, TR, TR, TR, TR, TR), |
| 38 | }; | 38 | }; |
| 39 | 39 | ||
| 40 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
| 41 | return MACRO_NONE; | ||
| 42 | }; | ||
| 43 | |||
| 44 | void matrix_init_user(void) { | ||
| 45 | }; | ||
| 46 | |||
| 47 | void matrix_scan_user(void) { | 40 | void matrix_scan_user(void) { |
| 48 | ergodox_board_led_off(); | 41 | ergodox_board_led_off(); |
| 49 | ergodox_right_led_1_off(); | 42 | ergodox_right_led_1_off(); |
diff --git a/layouts/community/ergodox/zweihander-macos/keymap.c b/layouts/community/ergodox/zweihander-macos/keymap.c index 93a435efb..b2ddeb0d6 100644 --- a/layouts/community/ergodox/zweihander-macos/keymap.c +++ b/layouts/community/ergodox/zweihander-macos/keymap.c | |||
| @@ -137,18 +137,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 137 | ), | 137 | ), |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 141 | { | ||
| 142 | // MACRODOWN only works in this function | ||
| 143 | |||
| 144 | return MACRO_NONE; | ||
| 145 | }; | ||
| 146 | |||
| 147 | // Runs just one time when the keyboard initializes. | ||
| 148 | void matrix_init_user(void) { | ||
| 149 | |||
| 150 | }; | ||
| 151 | |||
| 152 | // Runs constantly in the background, in a loop. | 140 | // Runs constantly in the background, in a loop. |
| 153 | void matrix_scan_user(void) { | 141 | void matrix_scan_user(void) { |
| 154 | 142 | ||
diff --git a/layouts/community/numpad_5x6/bjohnson/config.h b/layouts/community/numpad_5x6/bjohnson/config.h index 668450d88..6f1c53970 100644 --- a/layouts/community/numpad_5x6/bjohnson/config.h +++ b/layouts/community/numpad_5x6/bjohnson/config.h | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | #pragma once | 1 | #pragma once |
| 2 | 2 | ||
| 3 | // #define B6_AUDIO | ||
| 4 | |||
| 5 | #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM) | 3 | #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM) |
| 6 | #define RGB_DI_PIN B7 | 4 | #define RGB_DI_PIN B7 |
| 7 | #define RGBLED_NUM 13 // Number of LEDs | 5 | #define RGBLED_NUM 13 // Number of LEDs |
diff --git a/layouts/community/numpad_5x6/drashna/config.h b/layouts/community/numpad_5x6/drashna/config.h index 97c1170d7..1f485e193 100644 --- a/layouts/community/numpad_5x6/drashna/config.h +++ b/layouts/community/numpad_5x6/drashna/config.h | |||
| @@ -16,7 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | // #define B6_AUDIO | ||
| 20 | 19 | ||
| 21 | #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM) | 20 | #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM) |
| 22 | # define RGB_DI_PIN B1 | 21 | # define RGB_DI_PIN B1 |
diff --git a/layouts/community/ortho_4x12/bakingpy/config.h b/layouts/community/ortho_4x12/bakingpy/config.h index a153adffb..f7d2c2425 100644 --- a/layouts/community/ortho_4x12/bakingpy/config.h +++ b/layouts/community/ortho_4x12/bakingpy/config.h | |||
| @@ -16,5 +16,5 @@ | |||
| 16 | #define RGBLIGHT_VAL_STEP 8 | 16 | #define RGBLIGHT_VAL_STEP 8 |
| 17 | 17 | ||
| 18 | #ifdef AUDIO_ENABLE | 18 | #ifdef AUDIO_ENABLE |
| 19 | #define C6_AUDIO | 19 | #define AUDIO_PIN C6 |
| 20 | #endif | 20 | #endif |
diff --git a/layouts/community/ortho_4x12/bocaj/config.h b/layouts/community/ortho_4x12/bocaj/config.h index 2f5b73198..9a65684f3 100644 --- a/layouts/community/ortho_4x12/bocaj/config.h +++ b/layouts/community/ortho_4x12/bocaj/config.h | |||
| @@ -41,9 +41,6 @@ | |||
| 41 | * MIDI options | 41 | * MIDI options |
| 42 | */ | 42 | */ |
| 43 | 43 | ||
| 44 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 45 | //#define MIDI_ENABLE_STRICT 1 | ||
| 46 | |||
| 47 | /* enable basic MIDI features: | 44 | /* enable basic MIDI features: |
| 48 | - MIDI notes can be sent when in Music mode is on | 45 | - MIDI notes can be sent when in Music mode is on |
| 49 | */ | 46 | */ |
diff --git a/layouts/community/ortho_4x12/bocaj/keymap.c b/layouts/community/ortho_4x12/bocaj/keymap.c index 0ac22b4cc..89d4d1d9a 100644 --- a/layouts/community/ortho_4x12/bocaj/keymap.c +++ b/layouts/community/ortho_4x12/bocaj/keymap.c | |||
| @@ -87,21 +87,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 87 | ___________________LOWER_L1_EXT____________________, ___________________LOWER_R1_EXT____________________, | 87 | ___________________LOWER_L1_EXT____________________, ___________________LOWER_R1_EXT____________________, |
| 88 | ___________________LOWER_L2_EXT____________________, ___________________LOWER_R2_EXT____________________, | 88 | ___________________LOWER_L2_EXT____________________, ___________________LOWER_R2_EXT____________________, |
| 89 | ___________________LOWER_L3_EXT____________________, ___________________LOWER_R3_EXT____________________, | 89 | ___________________LOWER_L3_EXT____________________, ___________________LOWER_R3_EXT____________________, |
| 90 | _______, _______, _______, _______, _______, _______, KC_0, KC_DOT, KC_COMM, _______, _______ | 90 | _______, _______, _______, _______, _______, _______, _______, KC_0, KC_DOT, KC_COMM, _______, _______ |
| 91 | ), | 91 | ), |
| 92 | 92 | ||
| 93 | [_RAISE] = LAYOUT_ortho_4x12_bocaj( | 93 | [_RAISE] = LAYOUT_ortho_4x12_bocaj( |
| 94 | KC_TILD, _________________RAISE_L1__________________, _________________RAISE_R1__________________, KC_EQUAL, | 94 | KC_TILD, _________________RAISE_L1__________________, _________________RAISE_R1__________________, KC_EQUAL, |
| 95 | KC_F11, _________________RAISE_L2__________________, _________________RAISE_R2__________________, KC_F12, | 95 | KC_F11, _________________RAISE_L2__________________, _________________RAISE_R2__________________, KC_F12, |
| 96 | _______, _________________RAISE_L3__________________, _________________RAISE_R3__________________, _______, | 96 | _______, _________________RAISE_L3__________________, _________________RAISE_R3__________________, _______, |
| 97 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | 97 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 98 | ), | 98 | ), |
| 99 | 99 | ||
| 100 | [_ADJUST] = WRAPPER_ortho_4x12( | 100 | [_ADJUST] = WRAPPER_ortho_4x12( |
| 101 | KC_MAKE, _________________ADJUST_L1_________________, _________________ADJUST_R1_________________, KC_RST, | 101 | KC_MAKE, _________________ADJUST_L1_________________, _________________ADJUST_R1_________________, KC_RST, |
| 102 | VRSN, _________________ADJUST_L2_________________, _________________ADJUST_R2_________________, EEP_RST, | 102 | VRSN, _________________ADJUST_L2_________________, _________________ADJUST_R2_________________, EEP_RST, |
| 103 | TH_LVL, _________________ADJUST_L3_________________, _________________ADJUST_R3_________________, RGB_IDL, | 103 | TH_LVL, _________________ADJUST_L3_________________, _________________ADJUST_R3_________________, RGB_IDL, |
| 104 | HPT_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | 104 | HPT_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ |
| 105 | ) | 105 | ) |
| 106 | 106 | ||
| 107 | }; | 107 | }; |
diff --git a/layouts/community/ortho_4x12/brandonschlack/config.h b/layouts/community/ortho_4x12/brandonschlack/config.h index 9b6789c1c..7828f057a 100644 --- a/layouts/community/ortho_4x12/brandonschlack/config.h +++ b/layouts/community/ortho_4x12/brandonschlack/config.h | |||
| @@ -30,9 +30,6 @@ | |||
| 30 | * MIDI options | 30 | * MIDI options |
| 31 | */ | 31 | */ |
| 32 | 32 | ||
| 33 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 34 | //#define MIDI_ENABLE_STRICT 1 | ||
| 35 | |||
| 36 | /* enable basic MIDI features: | 33 | /* enable basic MIDI features: |
| 37 | - MIDI notes can be sent when in Music mode is on | 34 | - MIDI notes can be sent when in Music mode is on |
| 38 | */ | 35 | */ |
diff --git a/layouts/community/ortho_4x12/colemak_mod_dh_wide/config.h b/layouts/community/ortho_4x12/colemak_mod_dh_wide/config.h index 3c3d9b885..33e934203 100644 --- a/layouts/community/ortho_4x12/colemak_mod_dh_wide/config.h +++ b/layouts/community/ortho_4x12/colemak_mod_dh_wide/config.h | |||
| @@ -18,10 +18,7 @@ You should have received a copy of the GNU General Public License | |||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #ifndef CONFIG_USER_H | 21 | #pragma once |
| 22 | #define CONFIG_USER_H | ||
| 23 | |||
| 24 | #include QMK_KEYBOARD_CONFIG_H | ||
| 25 | 22 | ||
| 26 | /* Use I2C or Serial, not both */ | 23 | /* Use I2C or Serial, not both */ |
| 27 | 24 | ||
| @@ -33,5 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define MASTER_LEFT | 30 | #define MASTER_LEFT |
| 34 | // #define _MASTER_RIGHT | 31 | // #define _MASTER_RIGHT |
| 35 | // #define EE_HANDS | 32 | // #define EE_HANDS |
| 36 | |||
| 37 | #endif \ No newline at end of file | ||
diff --git a/layouts/community/ortho_4x12/crs/config.h b/layouts/community/ortho_4x12/crs/config.h index 3c3d9b885..33e934203 100644 --- a/layouts/community/ortho_4x12/crs/config.h +++ b/layouts/community/ortho_4x12/crs/config.h | |||
| @@ -18,10 +18,7 @@ You should have received a copy of the GNU General Public License | |||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #ifndef CONFIG_USER_H | 21 | #pragma once |
| 22 | #define CONFIG_USER_H | ||
| 23 | |||
| 24 | #include QMK_KEYBOARD_CONFIG_H | ||
| 25 | 22 | ||
| 26 | /* Use I2C or Serial, not both */ | 23 | /* Use I2C or Serial, not both */ |
| 27 | 24 | ||
| @@ -33,5 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define MASTER_LEFT | 30 | #define MASTER_LEFT |
| 34 | // #define _MASTER_RIGHT | 31 | // #define _MASTER_RIGHT |
| 35 | // #define EE_HANDS | 32 | // #define EE_HANDS |
| 36 | |||
| 37 | #endif \ No newline at end of file | ||
diff --git a/layouts/community/ortho_4x12/drashna/config.h b/layouts/community/ortho_4x12/drashna/config.h index 4a1d1babe..f4abd64f5 100644 --- a/layouts/community/ortho_4x12/drashna/config.h +++ b/layouts/community/ortho_4x12/drashna/config.h | |||
| @@ -87,9 +87,6 @@ | |||
| 87 | * MIDI options | 87 | * MIDI options |
| 88 | */ | 88 | */ |
| 89 | 89 | ||
| 90 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 91 | //#define MIDI_ENABLE_STRICT 1 | ||
| 92 | |||
| 93 | /* enable basic MIDI features: | 90 | /* enable basic MIDI features: |
| 94 | - MIDI notes can be sent when in Music mode is on | 91 | - MIDI notes can be sent when in Music mode is on |
| 95 | */ | 92 | */ |
diff --git a/layouts/community/ortho_4x12/ergodoxish/config.h b/layouts/community/ortho_4x12/ergodoxish/config.h index 3c3d9b885..33e934203 100644 --- a/layouts/community/ortho_4x12/ergodoxish/config.h +++ b/layouts/community/ortho_4x12/ergodoxish/config.h | |||
| @@ -18,10 +18,7 @@ You should have received a copy of the GNU General Public License | |||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | #ifndef CONFIG_USER_H | 21 | #pragma once |
| 22 | #define CONFIG_USER_H | ||
| 23 | |||
| 24 | #include QMK_KEYBOARD_CONFIG_H | ||
| 25 | 22 | ||
| 26 | /* Use I2C or Serial, not both */ | 23 | /* Use I2C or Serial, not both */ |
| 27 | 24 | ||
| @@ -33,5 +30,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 33 | #define MASTER_LEFT | 30 | #define MASTER_LEFT |
| 34 | // #define _MASTER_RIGHT | 31 | // #define _MASTER_RIGHT |
| 35 | // #define EE_HANDS | 32 | // #define EE_HANDS |
| 36 | |||
| 37 | #endif \ No newline at end of file | ||
diff --git a/layouts/community/ortho_4x12/jackhumbert/config.h b/layouts/community/ortho_4x12/jackhumbert/config.h index ea554c053..4cc8382fb 100644 --- a/layouts/community/ortho_4x12/jackhumbert/config.h +++ b/layouts/community/ortho_4x12/jackhumbert/config.h | |||
| @@ -30,9 +30,6 @@ | |||
| 30 | * MIDI options | 30 | * MIDI options |
| 31 | */ | 31 | */ |
| 32 | 32 | ||
| 33 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 34 | //#define MIDI_ENABLE_STRICT 1 | ||
| 35 | |||
| 36 | /* enable basic MIDI features: | 33 | /* enable basic MIDI features: |
| 37 | - MIDI notes can be sent when in Music mode is on | 34 | - MIDI notes can be sent when in Music mode is on |
| 38 | */ | 35 | */ |
diff --git a/layouts/community/ortho_4x12/jackhumbert/keymap.c b/layouts/community/ortho_4x12/jackhumbert/keymap.c index 8f07e375a..f9a3e1686 100644 --- a/layouts/community/ortho_4x12/jackhumbert/keymap.c +++ b/layouts/community/ortho_4x12/jackhumbert/keymap.c | |||
| @@ -43,7 +43,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 43 | * | Shft | Ctrl | Alt | GUI |Lower | Shft | Spc |Raise | Left | Down | Up |Right | | 43 | * | Shft | Ctrl | Alt | GUI |Lower | Shft | Spc |Raise | Left | Down | Up |Right | |
| 44 | * `-----------------------------------------------------------------------------------' | 44 | * `-----------------------------------------------------------------------------------' |
| 45 | */ | 45 | */ |
| 46 | [_COLEMAK] = LAYOUT_planck_grid( | 46 | [_COLEMAK] = LAYOUT_ortho_4x12( |
| 47 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, | 47 | KC_TAB, KC_Q, KC_W, KC_F, KC_P, KC_G, KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSPC, |
| 48 | KC_MINS, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, | 48 | KC_MINS, KC_A, KC_R, KC_S, KC_T, KC_D, KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT, |
| 49 | KC_ESC, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , | 49 | KC_ESC, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_ENT , |
| @@ -61,7 +61,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 61 | * | | | | | | | | | | | | | | 61 | * | | | | | | | | | | | | | |
| 62 | * `-----------------------------------------------------------------------------------' | 62 | * `-----------------------------------------------------------------------------------' |
| 63 | */ | 63 | */ |
| 64 | [_SHIFT_COLEMAK] = LAYOUT_planck_grid( | 64 | [_SHIFT_COLEMAK] = LAYOUT_ortho_4x12( |
| 65 | S(KC_TAB), S(KC_Q), S(KC_W), S(KC_F), S(KC_P), S(KC_G), S(KC_J), S(KC_L), S(KC_U), S(KC_Y), KC_COLN, _______, | 65 | S(KC_TAB), S(KC_Q), S(KC_W), S(KC_F), S(KC_P), S(KC_G), S(KC_J), S(KC_L), S(KC_U), S(KC_Y), KC_COLN, _______, |
| 66 | S(KC_MINS), S(KC_A), S(KC_R), S(KC_S), S(KC_T), S(KC_D), S(KC_H), S(KC_N), S(KC_E), S(KC_I), S(KC_O), KC_GRV, | 66 | S(KC_MINS), S(KC_A), S(KC_R), S(KC_S), S(KC_T), S(KC_D), S(KC_H), S(KC_N), S(KC_E), S(KC_I), S(KC_O), KC_GRV, |
| 67 | S(KC_ESC), S(KC_Z), S(KC_X), S(KC_C), S(KC_V), S(KC_B), S(KC_K), S(KC_M), KC_EXLM, KC_AT, KC_QUES, _______ , | 67 | S(KC_ESC), S(KC_Z), S(KC_X), S(KC_C), S(KC_V), S(KC_B), S(KC_K), S(KC_M), KC_EXLM, KC_AT, KC_QUES, _______ , |
| @@ -80,7 +80,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 80 | * | | | | | | | | | Home | Pgup | Pgdn | End | | 80 | * | | | | | | | | | Home | Pgup | Pgdn | End | |
| 81 | * `-----------------------------------------------------------------------------------' | 81 | * `-----------------------------------------------------------------------------------' |
| 82 | */ | 82 | */ |
| 83 | [_LOWER] = LAYOUT_planck_grid( | 83 | [_LOWER] = LAYOUT_ortho_4x12( |
| 84 | _______, XXXXXXX, KC_7, KC_8, KC_9, XXXXXXX, KC_DEL, KC_F9, KC_F10, KC_F11, KC_F12, _______, | 84 | _______, XXXXXXX, KC_7, KC_8, KC_9, XXXXXXX, KC_DEL, KC_F9, KC_F10, KC_F11, KC_F12, _______, |
| 85 | KC_DEL, XXXXXXX, KC_4, KC_5, KC_6, XXXXXXX, XXXXXXX, KC_F5, KC_F6, KC_F7, KC_F8, _______, | 85 | KC_DEL, XXXXXXX, KC_4, KC_5, KC_6, XXXXXXX, XXXXXXX, KC_F5, KC_F6, KC_F7, KC_F8, _______, |
| 86 | _______, KC_0, KC_1, KC_2, KC_3, XXXXXXX, XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, _______, | 86 | _______, KC_0, KC_1, KC_2, KC_3, XXXXXXX, XXXXXXX, KC_F1, KC_F2, KC_F3, KC_F4, _______, |
| @@ -98,7 +98,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 98 | * | | | | | | | | | Next | Vol- | Vol+ | Play | | 98 | * | | | | | | | | | Next | Vol- | Vol+ | Play | |
| 99 | * `-----------------------------------------------------------------------------------' | 99 | * `-----------------------------------------------------------------------------------' |
| 100 | */ | 100 | */ |
| 101 | [_RAISE] = LAYOUT_planck_grid( | 101 | [_RAISE] = LAYOUT_ortho_4x12( |
| 102 | _______, XXXXXXX, KC_LT, KC_DLR, KC_GT, XXXXXXX, XXXXXXX, KC_LBRC, KC_UNDS, KC_RBRC, XXXXXXX, _______, | 102 | _______, XXXXXXX, KC_LT, KC_DLR, KC_GT, XXXXXXX, XXXXXXX, KC_LBRC, KC_UNDS, KC_RBRC, XXXXXXX, _______, |
| 103 | _______, KC_BSLS, KC_LPRN, KC_DQUO, KC_RPRN, KC_HASH, KC_PERC, KC_LCBR, KC_EQL, KC_RCBR, KC_PIPE, _______, | 103 | _______, KC_BSLS, KC_LPRN, KC_DQUO, KC_RPRN, KC_HASH, KC_PERC, KC_LCBR, KC_EQL, KC_RCBR, KC_PIPE, _______, |
| 104 | _______, XXXXXXX, KC_COLN, KC_ASTR, KC_PLUS, XXXXXXX, XXXXXXX, KC_AMPR, KC_CIRC, KC_TILD, XXXXXXX, _______, | 104 | _______, XXXXXXX, KC_COLN, KC_ASTR, KC_PLUS, XXXXXXX, XXXXXXX, KC_AMPR, KC_CIRC, KC_TILD, XXXXXXX, _______, |
| @@ -117,7 +117,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 117 | * | | | | | | | | | | | | | | 117 | * | | | | | | | | | | | | | |
| 118 | * `-----------------------------------------------------------------------------------' | 118 | * `-----------------------------------------------------------------------------------' |
| 119 | */ | 119 | */ |
| 120 | [_ADJUST] = LAYOUT_planck_grid( | 120 | [_ADJUST] = LAYOUT_ortho_4x12( |
| 121 | _______, RESET, DEBUG, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, | 121 | _______, RESET, DEBUG, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, |
| 122 | _______, XXXXXXX, MU_MOD, AU_ON, AU_OFF, AG_NORM, AG_SWAP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, | 122 | _______, XXXXXXX, MU_MOD, AU_ON, AU_OFF, AG_NORM, AG_SWAP, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, _______, |
| 123 | _______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, TERM_ON, TERM_OFF, XXXXXXX, XXXXXXX, _______, | 123 | _______, MUV_DE, MUV_IN, MU_ON, MU_OFF, MI_ON, MI_OFF, TERM_ON, TERM_OFF, XXXXXXX, XXXXXXX, _______, |
diff --git a/layouts/community/ortho_4x12/juno/config.h b/layouts/community/ortho_4x12/juno/config.h index eae636c57..81fc21727 100644 --- a/layouts/community/ortho_4x12/juno/config.h +++ b/layouts/community/ortho_4x12/juno/config.h | |||
| @@ -14,9 +14,6 @@ | |||
| 14 | * MIDI options | 14 | * MIDI options |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 18 | //#define MIDI_ENABLE_STRICT 1 | ||
| 19 | |||
| 20 | /* enable basic MIDI features: | 17 | /* enable basic MIDI features: |
| 21 | - MIDI notes can be sent when in Music mode is on | 18 | - MIDI notes can be sent when in Music mode is on |
| 22 | */ | 19 | */ |
diff --git a/layouts/community/ortho_4x12/juno/keymap.c b/layouts/community/ortho_4x12/juno/keymap.c index a22c229e2..2b16b9955 100644 --- a/layouts/community/ortho_4x12/juno/keymap.c +++ b/layouts/community/ortho_4x12/juno/keymap.c | |||
| @@ -240,6 +240,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
| 240 | layer_state_t layer_state_set_user(layer_state_t state) { | 240 | layer_state_t layer_state_set_user(layer_state_t state) { |
| 241 | // LED control, lighting up when Fn layer is activated | 241 | // LED control, lighting up when Fn layer is activated |
| 242 | state = update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); | 242 | state = update_tri_layer_state(state, _LOWER, _RAISE, _ADJUST); |
| 243 | # ifdef BACKLIGHT_ENABLE | ||
| 243 | switch (get_highest_layer(state)) { | 244 | switch (get_highest_layer(state)) { |
| 244 | case _QWERTY: | 245 | case _QWERTY: |
| 245 | backlight_set(0); | 246 | backlight_set(0); |
| @@ -251,6 +252,7 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
| 251 | backlight_set(3); | 252 | backlight_set(3); |
| 252 | break; | 253 | break; |
| 253 | } | 254 | } |
| 255 | # endif | ||
| 254 | return state; | 256 | return state; |
| 255 | } | 257 | } |
| 256 | 258 | ||
diff --git a/layouts/community/ortho_4x12/junonum/config.h b/layouts/community/ortho_4x12/junonum/config.h index 23ef0e122..4b4d010a6 100644 --- a/layouts/community/ortho_4x12/junonum/config.h +++ b/layouts/community/ortho_4x12/junonum/config.h | |||
| @@ -14,9 +14,6 @@ | |||
| 14 | * MIDI options | 14 | * MIDI options |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 18 | //#define MIDI_ENABLE_STRICT 1 | ||
| 19 | |||
| 20 | /* enable basic MIDI features: | 17 | /* enable basic MIDI features: |
| 21 | - MIDI notes can be sent when in Music mode is on | 18 | - MIDI notes can be sent when in Music mode is on |
| 22 | */ | 19 | */ |
diff --git a/layouts/community/ortho_4x12/mguterl/config.h b/layouts/community/ortho_4x12/mguterl/config.h index 6fa31cc8a..9020d2b9f 100644 --- a/layouts/community/ortho_4x12/mguterl/config.h +++ b/layouts/community/ortho_4x12/mguterl/config.h | |||
| @@ -14,9 +14,6 @@ | |||
| 14 | * MIDI options | 14 | * MIDI options |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 18 | //#define MIDI_ENABLE_STRICT 1 | ||
| 19 | |||
| 20 | /* enable basic MIDI features: | 17 | /* enable basic MIDI features: |
| 21 | - MIDI notes can be sent when in Music mode is on | 18 | - MIDI notes can be sent when in Music mode is on |
| 22 | */ | 19 | */ |
diff --git a/layouts/community/ortho_4x12/mindsound/keymap.c b/layouts/community/ortho_4x12/mindsound/keymap.c index 03b0486c5..613f11d13 100644 --- a/layouts/community/ortho_4x12/mindsound/keymap.c +++ b/layouts/community/ortho_4x12/mindsound/keymap.c | |||
| @@ -133,11 +133,6 @@ void matrix_init_user(void) { | |||
| 133 | } | 133 | } |
| 134 | #endif | 134 | #endif |
| 135 | 135 | ||
| 136 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 137 | { | ||
| 138 | return MACRO_NONE; | ||
| 139 | }; | ||
| 140 | |||
| 141 | void persistant_default_layer_set(uint16_t default_layer) { | 136 | void persistant_default_layer_set(uint16_t default_layer) { |
| 142 | eeconfig_update_default_layer(default_layer); | 137 | eeconfig_update_default_layer(default_layer); |
| 143 | default_layer_set(default_layer); | 138 | default_layer_set(default_layer); |
diff --git a/layouts/community/ortho_5x12/brandonschlack/config.h b/layouts/community/ortho_5x12/brandonschlack/config.h index 996829736..5704ca12f 100644 --- a/layouts/community/ortho_5x12/brandonschlack/config.h +++ b/layouts/community/ortho_5x12/brandonschlack/config.h | |||
| @@ -30,9 +30,6 @@ | |||
| 30 | * MIDI options | 30 | * MIDI options |
| 31 | */ | 31 | */ |
| 32 | 32 | ||
| 33 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 34 | //#define MIDI_ENABLE_STRICT 1 | ||
| 35 | |||
| 36 | /* enable basic MIDI features: | 33 | /* enable basic MIDI features: |
| 37 | - MIDI notes can be sent when in Music mode is on | 34 | - MIDI notes can be sent when in Music mode is on |
| 38 | */ | 35 | */ |
diff --git a/layouts/community/ortho_5x12/drashna/config.h b/layouts/community/ortho_5x12/drashna/config.h index 76bd642a3..619b460a7 100644 --- a/layouts/community/ortho_5x12/drashna/config.h +++ b/layouts/community/ortho_5x12/drashna/config.h | |||
| @@ -33,6 +33,6 @@ | |||
| 33 | 33 | ||
| 34 | # define RGBLIGHT_EFFECT_KNIGHT_OFFSET 3 | 34 | # define RGBLIGHT_EFFECT_KNIGHT_OFFSET 3 |
| 35 | # define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 14 | 35 | # define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 14 |
| 36 | # define B7_AUDIO | 36 | # define AUDIO_PIN B7 |
| 37 | # define NO_MUSIC_MODE | 37 | # define NO_MUSIC_MODE |
| 38 | #endif | 38 | #endif |
diff --git a/layouts/community/ortho_5x14/yet-another-developer/config.h b/layouts/community/ortho_5x14/yet-another-developer/config.h index 7504338ff..3f8dbd3c5 100644 --- a/layouts/community/ortho_5x14/yet-another-developer/config.h +++ b/layouts/community/ortho_5x14/yet-another-developer/config.h | |||
| @@ -17,6 +17,6 @@ | |||
| 17 | 17 | ||
| 18 | # define RGBLIGHT_EFFECT_KNIGHT_OFFSET 3 | 18 | # define RGBLIGHT_EFFECT_KNIGHT_OFFSET 3 |
| 19 | # define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 14 | 19 | # define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 14 |
| 20 | # define B7_AUDIO | 20 | # define AUDIO_PIN B7 |
| 21 | # define NO_MUSIC_MODE | 21 | # define NO_MUSIC_MODE |
| 22 | #endif | 22 | #endif |
diff --git a/layouts/community/split_3x6_3/drashna/config.h b/layouts/community/split_3x6_3/drashna/config.h index 6205ededf..dd950ce7b 100644 --- a/layouts/community/split_3x6_3/drashna/config.h +++ b/layouts/community/split_3x6_3/drashna/config.h | |||
| @@ -74,8 +74,9 @@ | |||
| 74 | // #define INIT_EE_HANDS_RIGHT | 74 | // #define INIT_EE_HANDS_RIGHT |
| 75 | #endif | 75 | #endif |
| 76 | 76 | ||
| 77 | |||
| 77 | #if defined(AUDIO_ENABLE) && !defined(CONVERT_TO_PROTON_C) | 78 | #if defined(AUDIO_ENABLE) && !defined(CONVERT_TO_PROTON_C) |
| 78 | # define B6_AUDIO | 79 | # define AUDIO_PIN B6 |
| 79 | # define NO_MUSIC_MODE | 80 | # define NO_MUSIC_MODE |
| 80 | #endif | 81 | #endif |
| 81 | 82 | ||
