diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/community/ergodox/reset_eeprom/keymap.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/layouts/community/ergodox/reset_eeprom/keymap.c b/layouts/community/ergodox/reset_eeprom/keymap.c index 9033205b9..83c252a9a 100644 --- a/layouts/community/ergodox/reset_eeprom/keymap.c +++ b/layouts/community/ergodox/reset_eeprom/keymap.c | |||
| @@ -60,24 +60,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 60 | ) | 60 | ) |
| 61 | }; | 61 | }; |
| 62 | 62 | ||
| 63 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 64 | { | ||
| 65 | // MACRODOWN only works in this function | ||
| 66 | switch(id) { | ||
| 67 | case 0: | ||
| 68 | if (record->event.pressed) { | ||
| 69 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
| 70 | } | ||
| 71 | break; | ||
| 72 | case 1: | ||
| 73 | if (record->event.pressed) { // For resetting EEPROM | ||
| 74 | eeconfig_init(); | ||
| 75 | } | ||
| 76 | break; | ||
| 77 | } | ||
| 78 | return MACRO_NONE; | ||
| 79 | }; | ||
| 80 | |||
| 81 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 63 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
| 82 | switch (keycode) { | 64 | switch (keycode) { |
| 83 | // dynamically generate these. | 65 | // dynamically generate these. |
