diff options
author | Alex Mayer <amayer5125@gmail.com> | 2018-11-27 17:00:01 -0500 |
---|---|---|
committer | Alex Mayer <amayer5125@gmail.com> | 2018-11-27 17:00:01 -0500 |
commit | 929e6a3231d7b873bad475a7040f140712fb9c9d (patch) | |
tree | 48acee77b4121e6da661670d16b96e3ee0295b11 /keyboards | |
parent | 82c02d9b8d30cac7ab0b0d21e9d81c1a70df73c1 (diff) |
Ergodox EZ: Remove Unused Code From Keymap
Diffstat (limited to 'keyboards')
-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 49de607737..0cd6d6c2ce 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[] = { [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) }; -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. @@ -197,11 +179,6 @@ void matrix_init_user(void) { #endif }; -// Runs constantly in the background, in a loop. -void matrix_scan_user(void) { - -}; - // Runs whenever there is a layer state change. uint32_t layer_state_set_user(uint32_t state) { ergodox_board_led_off(); |