diff options
author | fauxpark <fauxpark@gmail.com> | 2019-07-16 16:04:02 +1000 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2019-07-15 23:04:02 -0700 |
commit | f14629ed1cd7c7ec9089604d64f29a99981558e8 (patch) | |
tree | a3691f4f3cb0c941694c16a3a94f73befb6ef6ec /layouts/community | |
parent | 2a231457bd494079c36cf3e07c9b887016adb491 (diff) | |
download | qmk_firmware-f14629ed1cd7c7ec9089604d64f29a99981558e8.tar.gz qmk_firmware-f14629ed1cd7c7ec9089604d64f29a99981558e8.zip |
Remove/migrate action_get_macro()s from default keymaps (#5625)
* Remove/migrate action_get_macro()s from default keymaps
* Leave these breaks alone
Diffstat (limited to 'layouts/community')
-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 9033205b98..83c252a9a1 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] = { ) }; -const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) -{ - // MACRODOWN only works in this function - switch(id) { - case 0: - if (record->event.pressed) { - SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); - } - break; - case 1: - if (record->event.pressed) { // For resetting EEPROM - eeconfig_init(); - } - break; - } - return MACRO_NONE; -}; - bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { // dynamically generate these. |