diff options
| -rw-r--r-- | keyboards/ergodox_ez/keymaps/default/keymap.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/keyboards/ergodox_ez/keymaps/default/keymap.c b/keyboards/ergodox_ez/keymaps/default/keymap.c index 49de60773..0cd6d6c2c 100644 --- a/keyboards/ergodox_ez/keymaps/default/keymap.c +++ b/keyboards/ergodox_ez/keymaps/default/keymap.c | |||
| @@ -145,24 +145,6 @@ const uint16_t PROGMEM fn_actions[] = { | |||
| 145 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | 145 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) |
| 146 | }; | 146 | }; |
| 147 | 147 | ||
| 148 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 149 | { | ||
| 150 | // MACRODOWN only works in this function | ||
| 151 | switch(id) { | ||
| 152 | case 0: | ||
| 153 | if (record->event.pressed) { | ||
| 154 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
| 155 | } | ||
| 156 | break; | ||
| 157 | case 1: | ||
| 158 | if (record->event.pressed) { // For resetting EEPROM | ||
| 159 | eeconfig_init(); | ||
| 160 | } | ||
| 161 | break; | ||
| 162 | } | ||
| 163 | return MACRO_NONE; | ||
| 164 | }; | ||
| 165 | |||
| 166 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 148 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
| 167 | switch (keycode) { | 149 | switch (keycode) { |
| 168 | // dynamically generate these. | 150 | // dynamically generate these. |
| @@ -197,11 +179,6 @@ void matrix_init_user(void) { | |||
| 197 | #endif | 179 | #endif |
| 198 | }; | 180 | }; |
| 199 | 181 | ||
| 200 | // Runs constantly in the background, in a loop. | ||
| 201 | void matrix_scan_user(void) { | ||
| 202 | |||
| 203 | }; | ||
| 204 | |||
| 205 | // Runs whenever there is a layer state change. | 182 | // Runs whenever there is a layer state change. |
| 206 | uint32_t layer_state_set_user(uint32_t state) { | 183 | uint32_t layer_state_set_user(uint32_t state) { |
| 207 | ergodox_board_led_off(); | 184 | ergodox_board_led_off(); |
