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/software_neo2/keymap.c | |
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/software_neo2/keymap.c')
-rw-r--r-- | layouts/community/ergodox/software_neo2/keymap.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/layouts/community/ergodox/software_neo2/keymap.c b/layouts/community/ergodox/software_neo2/keymap.c index 73e0694ba..8f7337601 100644 --- a/layouts/community/ergodox/software_neo2/keymap.c +++ b/layouts/community/ergodox/software_neo2/keymap.c | |||
@@ -95,26 +95,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
95 | ), | 95 | ), |
96 | }; | 96 | }; |
97 | 97 | ||
98 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
99 | { | ||
100 | // MACRODOWN only works in this function | ||
101 | switch(id) { | ||
102 | case 0: | ||
103 | if (record->event.pressed) { | ||
104 | register_code(KC_RSFT); | ||
105 | } else { | ||
106 | unregister_code(KC_RSFT); | ||
107 | } | ||
108 | break; | ||
109 | } | ||
110 | return MACRO_NONE; | ||
111 | }; | ||
112 | |||
113 | // Runs just one time when the keyboard initializes. | ||
114 | void matrix_init_user(void) { | ||
115 | |||
116 | }; | ||
117 | |||
118 | // Runs constantly in the background, in a loop. | 98 | // Runs constantly in the background, in a loop. |
119 | void matrix_scan_user(void) { | 99 | void matrix_scan_user(void) { |
120 | 100 | ||