diff options
| author | Ryan <fauxpark@gmail.com> | 2021-01-11 20:25:45 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-11 01:25:45 -0800 |
| commit | 415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb (patch) | |
| tree | 71c028b6b7dc0ef56a6f25fdd4f4de6376ee1d69 /layouts/community/ergodox/colemak | |
| parent | 5ee3cb385fd085bbe76e98e8c208ca2ac7ea4871 (diff) | |
| download | qmk_firmware-415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb.tar.gz qmk_firmware-415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb.zip | |
Remove unused `action_get_macro()` usages in user files (#11165)
Diffstat (limited to 'layouts/community/ergodox/colemak')
| -rw-r--r-- | layouts/community/ergodox/colemak/keymap.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/layouts/community/ergodox/colemak/keymap.c b/layouts/community/ergodox/colemak/keymap.c index 83c77e4a3..54b0c5834 100644 --- a/layouts/community/ergodox/colemak/keymap.c +++ b/layouts/community/ergodox/colemak/keymap.c | |||
| @@ -135,26 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
| 139 | { | ||
| 140 | // MACRODOWN only works in this function | ||
| 141 | switch(id) { | ||
| 142 | case 0: | ||
| 143 | if (record->event.pressed) { | ||
| 144 | register_code(KC_RSFT); | ||
| 145 | } else { | ||
| 146 | unregister_code(KC_RSFT); | ||
| 147 | } | ||
| 148 | break; | ||
| 149 | } | ||
| 150 | return MACRO_NONE; | ||
| 151 | }; | ||
| 152 | |||
| 153 | // Runs just one time when the keyboard initializes. | ||
| 154 | void matrix_init_user(void) { | ||
| 155 | |||
| 156 | }; | ||
| 157 | |||
| 158 | // Runs constantly in the background, in a loop. | 138 | // Runs constantly in the background, in a loop. |
| 159 | void matrix_scan_user(void) { | 139 | void matrix_scan_user(void) { |
| 160 | 140 | ||
