diff options
Diffstat (limited to 'layouts/community/ergodox/swedish/keymap.c')
| -rw-r--r-- | layouts/community/ergodox/swedish/keymap.c | 18 |
1 files changed, 0 insertions, 18 deletions
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. |
