dotfiles

commit 497a6a2f3befb215b1183530ccd5f1bf8546e924

Author: Honza Pokorny <me@honza.ca>

Remove unused stuff from keymap

 ergodox/keymap.c | 44 --------------------------------------------


diff --git a/ergodox/keymap.c b/ergodox/keymap.c
index 5e6792a9d32403546fd572c832dd716c67f5134c..9432ea239ed3f8ebaa9a3300280b945e99a7e895 100644
--- a/ergodox/keymap.c
+++ b/ergodox/keymap.c
@@ -156,47 +156,3 @@        KC_TRNS,
        KC_TRNS, KC_TRNS, KC_WBAK
 ),
 };
-
-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) {
-          register_code(KC_RSFT);
-        } else {
-          unregister_code(KC_RSFT);
-        }
-        break;
-      }
-    return MACRO_NONE;
-};
-
-// 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) {
-
-    uint8_t layer = biton32(layer_state);
-
-    ergodox_board_led_off();
-    ergodox_right_led_1_off();
-    ergodox_right_led_2_off();
-    ergodox_right_led_3_off();
-    switch (layer) {
-      // TODO: Make this relevant to the ErgoDox EZ.
-        case 1:
-            ergodox_right_led_1_on();
-            break;
-        case 2:
-            ergodox_right_led_2_on();
-            break;
-        default:
-            // none
-            break;
-    }
-
-};