From 415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 11 Jan 2021 20:25:45 +1100 Subject: Remove unused `action_get_macro()` usages in user files (#11165) --- keyboards/handwired/dactyl/keymaps/dvorak/keymap.c | 27 ---------------------- 1 file changed, 27 deletions(-) (limited to 'keyboards/handwired/dactyl/keymaps/dvorak/keymap.c') diff --git a/keyboards/handwired/dactyl/keymaps/dvorak/keymap.c b/keyboards/handwired/dactyl/keymaps/dvorak/keymap.c index cc6fc52e5a..40ef3b019c 100644 --- a/keyboards/handwired/dactyl/keymaps/dvorak/keymap.c +++ b/keyboards/handwired/dactyl/keymaps/dvorak/keymap.c @@ -137,24 +137,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) { case VRSN: @@ -166,12 +148,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { } return true; } - -// Runs just one time when the keyboard initializes. -void matrix_init_user(void) { - -}; - - -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) {}; -- cgit v1.2.3