diff options
Diffstat (limited to 'layouts/community/ergodox/dave/keymap.c')
| -rw-r--r-- | layouts/community/ergodox/dave/keymap.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/layouts/community/ergodox/dave/keymap.c b/layouts/community/ergodox/dave/keymap.c index f47f88142..efa270c40 100644 --- a/layouts/community/ergodox/dave/keymap.c +++ b/layouts/community/ergodox/dave/keymap.c | |||
| @@ -137,26 +137,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 137 | ), | 137 | ), |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 141 | { | ||
| 142 | // MACRODOWN only works in this function | ||
| 143 | switch(id) { | ||
| 144 | case 0: | ||
| 145 | if (record->event.pressed) { | ||
| 146 | register_code(KC_RSFT); | ||
| 147 | } else { | ||
| 148 | unregister_code(KC_RSFT); | ||
| 149 | } | ||
| 150 | break; | ||
| 151 | } | ||
| 152 | return MACRO_NONE; | ||
| 153 | }; | ||
| 154 | |||
| 155 | // Runs just one time when the keyboard initializes. | ||
| 156 | void matrix_init_user(void) { | ||
| 157 | |||
| 158 | }; | ||
| 159 | |||
| 160 | // Runs constantly in the background, in a loop. | 140 | // Runs constantly in the background, in a loop. |
| 161 | void matrix_scan_user(void) { | 141 | void matrix_scan_user(void) { |
| 162 | /* leds is a static array holding the current brightness of each of the | 142 | /* leds is a static array holding the current brightness of each of the |
