diff options
Diffstat (limited to 'layouts')
53 files changed, 0 insertions, 968 deletions
diff --git a/layouts/community/60_iso/unxmaal/keymap.c b/layouts/community/60_iso/unxmaal/keymap.c index 9441997b4..5c8325e62 100644 --- a/layouts/community/60_iso/unxmaal/keymap.c +++ b/layouts/community/60_iso/unxmaal/keymap.c | |||
@@ -119,21 +119,6 @@ const uint16_t PROGMEM fn_actions[] = { | |||
119 | [12] = ACTION_FUNCTION(SHIFT_ESC), | 119 | [12] = ACTION_FUNCTION(SHIFT_ESC), |
120 | }; | 120 | }; |
121 | 121 | ||
122 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
123 | { | ||
124 | // MACRODOWN only works in this function | ||
125 | switch(id) { | ||
126 | case 0: | ||
127 | if (record->event.pressed) { | ||
128 | register_code(KC_RSFT); | ||
129 | } else { | ||
130 | unregister_code(KC_RSFT); | ||
131 | } | ||
132 | break; | ||
133 | } | ||
134 | return MACRO_NONE; | ||
135 | }; | ||
136 | |||
137 | void matrix_scan_user(void) { | 122 | void matrix_scan_user(void) { |
138 | 123 | ||
139 | // Layer LED indicators | 124 | // Layer LED indicators |
diff --git a/layouts/community/ergodox/adam/keymap.c b/layouts/community/ergodox/adam/keymap.c index d17f0b83b..50270838a 100644 --- a/layouts/community/ergodox/adam/keymap.c +++ b/layouts/community/ergodox/adam/keymap.c | |||
@@ -127,26 +127,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
127 | ) | 127 | ) |
128 | }; | 128 | }; |
129 | 129 | ||
130 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
131 | { | ||
132 | // MACRODOWN only works in this function | ||
133 | switch(id) { | ||
134 | case 0: | ||
135 | if (record->event.pressed) { | ||
136 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
137 | } | ||
138 | break; | ||
139 | } | ||
140 | |||
141 | return MACRO_NONE; | ||
142 | }; | ||
143 | |||
144 | // Runs just one time when the keyboard initializes. | ||
145 | void matrix_init_user(void) { | ||
146 | |||
147 | }; | ||
148 | |||
149 | |||
150 | // Runs constantly in the background, in a loop. | 130 | // Runs constantly in the background, in a loop. |
151 | void matrix_scan_user(void) { | 131 | void matrix_scan_user(void) { |
152 | uint8_t layer = biton32(layer_state); | 132 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/adnw_k_o_y/keymap.c b/layouts/community/ergodox/adnw_k_o_y/keymap.c index 59ae2681f..6ade0001c 100644 --- a/layouts/community/ergodox/adnw_k_o_y/keymap.c +++ b/layouts/community/ergodox/adnw_k_o_y/keymap.c | |||
@@ -136,26 +136,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
136 | ), | 136 | ), |
137 | }; | 137 | }; |
138 | 138 | ||
139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
140 | { | ||
141 | // MACRODOWN only works in this function | ||
142 | switch(id) { | ||
143 | case 0: | ||
144 | if (record->event.pressed) { | ||
145 | register_code(KC_RSFT); | ||
146 | } else { | ||
147 | unregister_code(KC_RSFT); | ||
148 | } | ||
149 | break; | ||
150 | } | ||
151 | return MACRO_NONE; | ||
152 | }; | ||
153 | |||
154 | // Runs just one time when the keyboard initializes. | ||
155 | void matrix_init_user(void) { | ||
156 | |||
157 | }; | ||
158 | |||
159 | // Runs constantly in the background, in a loop. | 139 | // Runs constantly in the background, in a loop. |
160 | void matrix_scan_user(void) { | 140 | void matrix_scan_user(void) { |
161 | 141 | ||
diff --git a/layouts/community/ergodox/andrew_osx/keymap.c b/layouts/community/ergodox/andrew_osx/keymap.c index 8fb570bd7..990fea4f4 100644 --- a/layouts/community/ergodox/andrew_osx/keymap.c +++ b/layouts/community/ergodox/andrew_osx/keymap.c | |||
@@ -138,26 +138,6 @@ LAYOUT_ergodox( | |||
138 | ), | 138 | ), |
139 | }; | 139 | }; |
140 | 140 | ||
141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
142 | { | ||
143 | // MACRODOWN only works in this function | ||
144 | switch(id) { | ||
145 | case 0: | ||
146 | if (record->event.pressed) { | ||
147 | register_code(KC_RSFT); | ||
148 | } else { | ||
149 | unregister_code(KC_RSFT); | ||
150 | } | ||
151 | break; | ||
152 | } | ||
153 | return MACRO_NONE; | ||
154 | }; | ||
155 | |||
156 | // Runs just one time when the keyboard initializes. | ||
157 | void matrix_init_user(void) { | ||
158 | |||
159 | }; | ||
160 | |||
161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
163 | 143 | ||
diff --git a/layouts/community/ergodox/coderkun_neo2/keymap.c b/layouts/community/ergodox/coderkun_neo2/keymap.c index d1fcea9c9..a6fe61079 100644 --- a/layouts/community/ergodox/coderkun_neo2/keymap.c +++ b/layouts/community/ergodox/coderkun_neo2/keymap.c | |||
@@ -221,25 +221,6 @@ const uint16_t PROGMEM fn_actions[] = { | |||
221 | [PMN] = ACTION_FUNCTION(PMN), | 221 | [PMN] = ACTION_FUNCTION(PMN), |
222 | }; | 222 | }; |
223 | 223 | ||
224 | |||
225 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
226 | { | ||
227 | // MACRODOWN only works in this function | ||
228 | switch(id) { | ||
229 | case 0: | ||
230 | if (record->event.pressed) { | ||
231 | register_code(KC_RSFT); | ||
232 | } | ||
233 | else { | ||
234 | unregister_code(KC_RSFT); | ||
235 | } | ||
236 | break; | ||
237 | } | ||
238 | |||
239 | return MACRO_NONE; | ||
240 | }; | ||
241 | |||
242 | |||
243 | // Runs just one time when the keyboard initializes. | 224 | // Runs just one time when the keyboard initializes. |
244 | void matrix_init_user(void) { | 225 | void matrix_init_user(void) { |
245 | set_unicode_input_mode(UC_LNX); | 226 | set_unicode_input_mode(UC_LNX); |
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 | ||
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 |
diff --git a/layouts/community/ergodox/dragon788/keymap.c b/layouts/community/ergodox/dragon788/keymap.c index 7377128ec..e77786485 100644 --- a/layouts/community/ergodox/dragon788/keymap.c +++ b/layouts/community/ergodox/dragon788/keymap.c | |||
@@ -180,26 +180,6 @@ LAYOUT_ergodox( | |||
180 | 180 | ||
181 | }; | 181 | }; |
182 | 182 | ||
183 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
184 | { | ||
185 | // MACRODOWN only works in this function | ||
186 | switch(id) { | ||
187 | case 0: | ||
188 | if (record->event.pressed) { | ||
189 | register_code(KC_RSFT); | ||
190 | } else { | ||
191 | unregister_code(KC_RSFT); | ||
192 | } | ||
193 | break; | ||
194 | } | ||
195 | return MACRO_NONE; | ||
196 | }; | ||
197 | |||
198 | // Runs just one time when the keyboard initializes. | ||
199 | void matrix_init_user(void) { | ||
200 | |||
201 | }; | ||
202 | |||
203 | // Runs constantly in the background, in a loop. | 183 | // Runs constantly in the background, in a loop. |
204 | void matrix_scan_user(void) { | 184 | void matrix_scan_user(void) { |
205 | 185 | ||
diff --git a/layouts/community/ergodox/dvorak/keymap.c b/layouts/community/ergodox/dvorak/keymap.c index 4d8483f54..68b575fd6 100644 --- a/layouts/community/ergodox/dvorak/keymap.c +++ b/layouts/community/ergodox/dvorak/keymap.c | |||
@@ -135,26 +135,6 @@ LAYOUT_ergodox( | |||
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 | ||
diff --git a/layouts/community/ergodox/dvorak_emacs/keymap.c b/layouts/community/ergodox/dvorak_emacs/keymap.c index 244dfe521..6055fd770 100644 --- a/layouts/community/ergodox/dvorak_emacs/keymap.c +++ b/layouts/community/ergodox/dvorak_emacs/keymap.c | |||
@@ -117,26 +117,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
117 | ), | 117 | ), |
118 | }; | 118 | }; |
119 | 119 | ||
120 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
121 | { | ||
122 | // MACRODOWN only works in this function | ||
123 | switch(id) { | ||
124 | case 0: | ||
125 | if (record->event.pressed) { | ||
126 | register_code(KC_RSFT); | ||
127 | } else { | ||
128 | unregister_code(KC_RSFT); | ||
129 | } | ||
130 | break; | ||
131 | } | ||
132 | return MACRO_NONE; | ||
133 | }; | ||
134 | |||
135 | // Runs just one time when the keyboard initializes. | ||
136 | void matrix_init_user(void) { | ||
137 | |||
138 | }; | ||
139 | |||
140 | // Runs constantly in the background, in a loop. | 120 | // Runs constantly in the background, in a loop. |
141 | void matrix_scan_user(void) { | 121 | void matrix_scan_user(void) { |
142 | 122 | ||
diff --git a/layouts/community/ergodox/dvorak_emacs_software/keymap.c b/layouts/community/ergodox/dvorak_emacs_software/keymap.c index 720dcde12..4f90f193c 100644 --- a/layouts/community/ergodox/dvorak_emacs_software/keymap.c +++ b/layouts/community/ergodox/dvorak_emacs_software/keymap.c | |||
@@ -118,26 +118,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
118 | ), | 118 | ), |
119 | }; | 119 | }; |
120 | 120 | ||
121 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
122 | { | ||
123 | // MACRODOWN only works in this function | ||
124 | switch(id) { | ||
125 | case 0: | ||
126 | if (record->event.pressed) { | ||
127 | register_code(KC_RSFT); | ||
128 | } else { | ||
129 | unregister_code(KC_RSFT); | ||
130 | } | ||
131 | break; | ||
132 | } | ||
133 | return MACRO_NONE; | ||
134 | }; | ||
135 | |||
136 | // Runs just one time when the keyboard initializes. | ||
137 | void matrix_init_user(void) { | ||
138 | |||
139 | }; | ||
140 | |||
141 | // Runs constantly in the background, in a loop. | 121 | // Runs constantly in the background, in a loop. |
142 | void matrix_scan_user(void) { | 122 | void matrix_scan_user(void) { |
143 | 123 | ||
diff --git a/layouts/community/ergodox/dvorak_intl_squisher/keymap.c b/layouts/community/ergodox/dvorak_intl_squisher/keymap.c index 98e288516..3ebbd2df0 100644 --- a/layouts/community/ergodox/dvorak_intl_squisher/keymap.c +++ b/layouts/community/ergodox/dvorak_intl_squisher/keymap.c | |||
@@ -136,26 +136,6 @@ LAYOUT_ergodox( // layer 0 : default | |||
136 | ), | 136 | ), |
137 | }; | 137 | }; |
138 | 138 | ||
139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
140 | { | ||
141 | // MACRODOWN only works in this function | ||
142 | switch(id) { | ||
143 | case 0: | ||
144 | if (record->event.pressed) { | ||
145 | register_code(KC_RSFT); | ||
146 | } else { | ||
147 | unregister_code(KC_RSFT); | ||
148 | } | ||
149 | break; | ||
150 | } | ||
151 | return MACRO_NONE; | ||
152 | }; | ||
153 | |||
154 | // Runs just one time when the keyboard initializes. | ||
155 | void matrix_init_user(void) { | ||
156 | |||
157 | }; | ||
158 | |||
159 | // Runs constantly in the background, in a loop. | 139 | // Runs constantly in the background, in a loop. |
160 | void matrix_scan_user(void) { | 140 | void matrix_scan_user(void) { |
161 | 141 | ||
diff --git a/layouts/community/ergodox/dvorak_plover/keymap.c b/layouts/community/ergodox/dvorak_plover/keymap.c index 24746c751..882a351d1 100644 --- a/layouts/community/ergodox/dvorak_plover/keymap.c +++ b/layouts/community/ergodox/dvorak_plover/keymap.c | |||
@@ -178,26 +178,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
178 | ), | 178 | ), |
179 | }; | 179 | }; |
180 | 180 | ||
181 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
182 | { | ||
183 | // MACRODOWN only works in this function | ||
184 | switch(id) { | ||
185 | case 0: | ||
186 | if (record->event.pressed) { | ||
187 | register_code(KC_RSFT); | ||
188 | } else { | ||
189 | unregister_code(KC_RSFT); | ||
190 | } | ||
191 | break; | ||
192 | } | ||
193 | return MACRO_NONE; | ||
194 | }; | ||
195 | |||
196 | // Runs just one time when the keyboard initializes. | ||
197 | void matrix_init_user(void) { | ||
198 | |||
199 | }; | ||
200 | |||
201 | // Runs constantly in the background, in a loop. | 181 | // Runs constantly in the background, in a loop. |
202 | void matrix_scan_user(void) { | 182 | void matrix_scan_user(void) { |
203 | 183 | ||
diff --git a/layouts/community/ergodox/emacs_osx_dk/keymap.c b/layouts/community/ergodox/emacs_osx_dk/keymap.c index c34d9f65b..1de894616 100644 --- a/layouts/community/ergodox/emacs_osx_dk/keymap.c +++ b/layouts/community/ergodox/emacs_osx_dk/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 | ||
diff --git a/layouts/community/ergodox/german-kinergo/keymap.c b/layouts/community/ergodox/german-kinergo/keymap.c index 20651df0f..d9c297814 100644 --- a/layouts/community/ergodox/german-kinergo/keymap.c +++ b/layouts/community/ergodox/german-kinergo/keymap.c | |||
@@ -162,26 +162,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
162 | ), | 162 | ), |
163 | }; | 163 | }; |
164 | 164 | ||
165 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
166 | { | ||
167 | // MACRODOWN only works in this function | ||
168 | switch(id) { | ||
169 | case 0: | ||
170 | if (record->event.pressed) { | ||
171 | register_code(KC_RSFT); | ||
172 | } else { | ||
173 | unregister_code(KC_RSFT); | ||
174 | } | ||
175 | break; | ||
176 | } | ||
177 | return MACRO_NONE; | ||
178 | }; | ||
179 | |||
180 | // Runs just one time when the keyboard initializes. | ||
181 | void matrix_init_user(void) { | ||
182 | |||
183 | }; | ||
184 | |||
185 | // Runs constantly in the background, in a loop. | 165 | // Runs constantly in the background, in a loop. |
186 | void matrix_scan_user(void) { | 166 | void matrix_scan_user(void) { |
187 | 167 | ||
diff --git a/layouts/community/ergodox/german-lukas/keymap.c b/layouts/community/ergodox/german-lukas/keymap.c index 373a1e044..cbc51c695 100644 --- a/layouts/community/ergodox/german-lukas/keymap.c +++ b/layouts/community/ergodox/german-lukas/keymap.c | |||
@@ -185,26 +185,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
185 | ), | 185 | ), |
186 | }; | 186 | }; |
187 | 187 | ||
188 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
189 | { | ||
190 | // MACRODOWN only works in this function | ||
191 | switch(id) { | ||
192 | case 0: | ||
193 | if (record->event.pressed) { | ||
194 | register_code(KC_RSFT); | ||
195 | } else { | ||
196 | unregister_code(KC_RSFT); | ||
197 | } | ||
198 | break; | ||
199 | } | ||
200 | return MACRO_NONE; | ||
201 | }; | ||
202 | |||
203 | // Runs just one time when the keyboard initializes. | ||
204 | void matrix_init_user(void) { | ||
205 | |||
206 | }; | ||
207 | |||
208 | // Runs constantly in the background, in a loop. | 188 | // Runs constantly in the background, in a loop. |
209 | void matrix_scan_user(void) { | 189 | void matrix_scan_user(void) { |
210 | 190 | ||
diff --git a/layouts/community/ergodox/german/keymap.c b/layouts/community/ergodox/german/keymap.c index 83ead2eb2..c64057dc4 100644 --- a/layouts/community/ergodox/german/keymap.c +++ b/layouts/community/ergodox/german/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 | 142 | ||
diff --git a/layouts/community/ergodox/guni/keymap.c b/layouts/community/ergodox/guni/keymap.c index ff1dd72eb..0707bcf77 100644 --- a/layouts/community/ergodox/guni/keymap.c +++ b/layouts/community/ergodox/guni/keymap.c | |||
@@ -127,28 +127,6 @@ const uint16_t PROGMEM fn_actions[] = { | |||
127 | [26] = ACTION_LAYER_SET(1, ON_PRESS), | 127 | [26] = ACTION_LAYER_SET(1, ON_PRESS), |
128 | }; | 128 | }; |
129 | 129 | ||
130 | |||
131 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
132 | { | ||
133 | // MACRODOWN only works in this function | ||
134 | switch(id) { | ||
135 | case 0: | ||
136 | if (record->event.pressed) { | ||
137 | register_code(KC_RSFT); | ||
138 | } else { | ||
139 | unregister_code(KC_RSFT); | ||
140 | } | ||
141 | break; | ||
142 | } | ||
143 | return MACRO_NONE; | ||
144 | }; | ||
145 | |||
146 | // Runs just one time when the keyboard initializes. | ||
147 | void matrix_init_user(void) { | ||
148 | |||
149 | }; | ||
150 | |||
151 | |||
152 | void action_function(keyrecord_t *event, uint8_t id, uint8_t opt) | 130 | void action_function(keyrecord_t *event, uint8_t id, uint8_t opt) |
153 | { | 131 | { |
154 | 132 | ||
diff --git a/layouts/community/ergodox/haegin/keymap.c b/layouts/community/ergodox/haegin/keymap.c index b7e382957..fbbe3e72e 100644 --- a/layouts/community/ergodox/haegin/keymap.c +++ b/layouts/community/ergodox/haegin/keymap.c | |||
@@ -223,26 +223,6 @@ qk_tap_dance_action_t tap_dance_actions[] = { | |||
223 | [TD_BSPC] = ACTION_TAP_DANCE_FN_ADVANCED (dance_backspace, dance_backspace_ended, dance_backspace_reset) | 223 | [TD_BSPC] = ACTION_TAP_DANCE_FN_ADVANCED (dance_backspace, dance_backspace_ended, dance_backspace_reset) |
224 | }; | 224 | }; |
225 | 225 | ||
226 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
227 | { | ||
228 | // MACRODOWN only works in this function | ||
229 | switch(id) { | ||
230 | case 0: | ||
231 | if (record->event.pressed) { | ||
232 | register_code(KC_RSFT); | ||
233 | } else { | ||
234 | unregister_code(KC_RSFT); | ||
235 | } | ||
236 | break; | ||
237 | } | ||
238 | return MACRO_NONE; | ||
239 | }; | ||
240 | |||
241 | // Runs just one time when the keyboard initializes. | ||
242 | void matrix_init_user(void) { | ||
243 | |||
244 | }; | ||
245 | |||
246 | // Runs constantly in the background, in a loop. | 226 | // Runs constantly in the background, in a loop. |
247 | void matrix_scan_user(void) { | 227 | void matrix_scan_user(void) { |
248 | 228 | ||
diff --git a/layouts/community/ergodox/j3rn/keymap.c b/layouts/community/ergodox/j3rn/keymap.c index ae084b6e9..5081ddf52 100644 --- a/layouts/community/ergodox/j3rn/keymap.c +++ b/layouts/community/ergodox/j3rn/keymap.c | |||
@@ -138,26 +138,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
138 | ), | 138 | ), |
139 | }; | 139 | }; |
140 | 140 | ||
141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
142 | { | ||
143 | // MACRODOWN only works in this function | ||
144 | switch(id) { | ||
145 | case 0: | ||
146 | if (record->event.pressed) { | ||
147 | register_code(KC_RSFT); | ||
148 | } else { | ||
149 | unregister_code(KC_RSFT); | ||
150 | } | ||
151 | break; | ||
152 | } | ||
153 | return MACRO_NONE; | ||
154 | }; | ||
155 | |||
156 | // Runs just one time when the keyboard initializes. | ||
157 | void matrix_init_user(void) { | ||
158 | |||
159 | }; | ||
160 | |||
161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
163 | 143 | ||
diff --git a/layouts/community/ergodox/jacobono/keymap.c b/layouts/community/ergodox/jacobono/keymap.c index 62858f8dd..e97209fc8 100644 --- a/layouts/community/ergodox/jacobono/keymap.c +++ b/layouts/community/ergodox/jacobono/keymap.c | |||
@@ -224,26 +224,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
224 | KC_TRNS, KC_TRNS, KC_WBAK), | 224 | KC_TRNS, KC_TRNS, KC_WBAK), |
225 | }; | 225 | }; |
226 | 226 | ||
227 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
228 | { | ||
229 | // MACRODOWN only works in this function | ||
230 | switch(id) { | ||
231 | case 0: | ||
232 | if (record->event.pressed) { | ||
233 | register_code(KC_RSFT); | ||
234 | } else { | ||
235 | unregister_code(KC_RSFT); | ||
236 | } | ||
237 | break; | ||
238 | } | ||
239 | return MACRO_NONE; | ||
240 | }; | ||
241 | |||
242 | // Runs just one time when the keyboard initializes. | ||
243 | void matrix_init_user(void) { | ||
244 | |||
245 | }; | ||
246 | |||
247 | // Runs constantly in the background, in a loop. | 227 | // Runs constantly in the background, in a loop. |
248 | void matrix_scan_user(void) { | 228 | void matrix_scan_user(void) { |
249 | 229 | ||
diff --git a/layouts/community/ergodox/jafo/keymap.c b/layouts/community/ergodox/jafo/keymap.c index 4737ab710..b8b8e6351 100644 --- a/layouts/community/ergodox/jafo/keymap.c +++ b/layouts/community/ergodox/jafo/keymap.c | |||
@@ -136,24 +136,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
136 | ), | 136 | ), |
137 | }; | 137 | }; |
138 | 138 | ||
139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
140 | { | ||
141 | // MACRODOWN only works in this function | ||
142 | switch(id) { | ||
143 | case 0: | ||
144 | if (record->event.pressed) { | ||
145 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
146 | } | ||
147 | break; | ||
148 | } | ||
149 | return MACRO_NONE; | ||
150 | }; | ||
151 | |||
152 | // Runs just one time when the keyboard initializes. | ||
153 | void matrix_init_user(void) { | ||
154 | |||
155 | }; | ||
156 | |||
157 | // Runs constantly in the background, in a loop. | 139 | // Runs constantly in the background, in a loop. |
158 | void matrix_scan_user(void) { | 140 | void matrix_scan_user(void) { |
159 | 141 | ||
diff --git a/layouts/community/ergodox/jgarr/keymap.c b/layouts/community/ergodox/jgarr/keymap.c index 84b573aca..ac4e56226 100644 --- a/layouts/community/ergodox/jgarr/keymap.c +++ b/layouts/community/ergodox/jgarr/keymap.c | |||
@@ -135,26 +135,6 @@ LAYOUT_ergodox( | |||
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 | ||
diff --git a/layouts/community/ergodox/kastyle/keymap.c b/layouts/community/ergodox/kastyle/keymap.c index 32eec96f5..c9789955b 100644 --- a/layouts/community/ergodox/kastyle/keymap.c +++ b/layouts/community/ergodox/kastyle/keymap.c | |||
@@ -140,26 +140,6 @@ LAYOUT_ergodox( | |||
140 | ), | 140 | ), |
141 | }; | 141 | }; |
142 | 142 | ||
143 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
144 | { | ||
145 | // MACRODOWN only works in this function | ||
146 | switch(id) { | ||
147 | case 0: | ||
148 | if (record->event.pressed) { | ||
149 | register_code(KC_RSFT); | ||
150 | } else { | ||
151 | unregister_code(KC_RSFT); | ||
152 | } | ||
153 | break; | ||
154 | } | ||
155 | return MACRO_NONE; | ||
156 | }; | ||
157 | |||
158 | // Runs just one time when the keyboard initializes. | ||
159 | void matrix_init_user(void) { | ||
160 | |||
161 | }; | ||
162 | |||
163 | // Runs constantly in the background, in a loop. | 143 | // Runs constantly in the background, in a loop. |
164 | void matrix_scan_user(void) { | 144 | void matrix_scan_user(void) { |
165 | 145 | ||
diff --git a/layouts/community/ergodox/kejadlen/keymap.c b/layouts/community/ergodox/kejadlen/keymap.c index cfeb70430..6ce209f80 100644 --- a/layouts/community/ergodox/kejadlen/keymap.c +++ b/layouts/community/ergodox/kejadlen/keymap.c | |||
@@ -73,17 +73,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
73 | ), | 73 | ), |
74 | }; | 74 | }; |
75 | 75 | ||
76 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
77 | switch(id) { | ||
78 | case TEENSY: | ||
79 | break; | ||
80 | } | ||
81 | return MACRO_NONE; | ||
82 | }; | ||
83 | |||
84 | void matrix_init_user(void) { | ||
85 | }; | ||
86 | |||
87 | void matrix_scan_user(void) { | 76 | void matrix_scan_user(void) { |
88 | uint8_t layer = biton32(layer_state); | 77 | uint8_t layer = biton32(layer_state); |
89 | 78 | ||
diff --git a/layouts/community/ergodox/kines-ish/keymap.c b/layouts/community/ergodox/kines-ish/keymap.c index 6f0d99d8d..8acab5ca5 100644 --- a/layouts/community/ergodox/kines-ish/keymap.c +++ b/layouts/community/ergodox/kines-ish/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 | ||
diff --git a/layouts/community/ergodox/maz/keymap.c b/layouts/community/ergodox/maz/keymap.c index c36821ded..3244f2152 100644 --- a/layouts/community/ergodox/maz/keymap.c +++ b/layouts/community/ergodox/maz/keymap.c | |||
@@ -180,26 +180,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
180 | ), | 180 | ), |
181 | }; | 181 | }; |
182 | 182 | ||
183 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
184 | { | ||
185 | // MACRODOWN only works in this function | ||
186 | switch(id) { | ||
187 | case 0: | ||
188 | if (record->event.pressed) { | ||
189 | register_code(KC_RSFT); | ||
190 | } else { | ||
191 | unregister_code(KC_RSFT); | ||
192 | } | ||
193 | break; | ||
194 | } | ||
195 | return MACRO_NONE; | ||
196 | }; | ||
197 | |||
198 | // Runs just one time when the keyboard initializes. | ||
199 | void matrix_init_user(void) { | ||
200 | |||
201 | }; | ||
202 | |||
203 | // Runs constantly in the background, in a loop. | 183 | // Runs constantly in the background, in a loop. |
204 | void matrix_scan_user(void) { | 184 | void matrix_scan_user(void) { |
205 | 185 | ||
diff --git a/layouts/community/ergodox/mclennon_osx/keymap.c b/layouts/community/ergodox/mclennon_osx/keymap.c index aeea456ec..72e9d505a 100644 --- a/layouts/community/ergodox/mclennon_osx/keymap.c +++ b/layouts/community/ergodox/mclennon_osx/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 | ||
diff --git a/layouts/community/ergodox/msc/keymap.c b/layouts/community/ergodox/msc/keymap.c index 62c2ec7b5..5d9de3239 100644 --- a/layouts/community/ergodox/msc/keymap.c +++ b/layouts/community/ergodox/msc/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 | ||
diff --git a/layouts/community/ergodox/naps62/keymap.c b/layouts/community/ergodox/naps62/keymap.c index a242a14fe..230b3376b 100644 --- a/layouts/community/ergodox/naps62/keymap.c +++ b/layouts/community/ergodox/naps62/keymap.c | |||
@@ -138,26 +138,6 @@ LAYOUT_ergodox( | |||
138 | ), | 138 | ), |
139 | }; | 139 | }; |
140 | 140 | ||
141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
142 | { | ||
143 | // MACRODOWN only works in this function | ||
144 | switch(id) { | ||
145 | case 0: | ||
146 | if (record->event.pressed) { | ||
147 | register_code(KC_RSFT); | ||
148 | } else { | ||
149 | unregister_code(KC_RSFT); | ||
150 | } | ||
151 | break; | ||
152 | } | ||
153 | return MACRO_NONE; | ||
154 | }; | ||
155 | |||
156 | // Runs just one time when the keyboard initializes. | ||
157 | void matrix_init_user(void) { | ||
158 | |||
159 | }; | ||
160 | |||
161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
163 | 143 | ||
diff --git a/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c b/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c index f93f03e92..85782dda7 100644 --- a/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c +++ b/layouts/community/ergodox/neo2_on_qwertz_hardware/keymap.c | |||
@@ -342,28 +342,6 @@ void unicode_action_function(uint16_t hi, uint16_t lo) { | |||
342 | } | 342 | } |
343 | } | 343 | } |
344 | 344 | ||
345 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
346 | if (!record->event.pressed) { | ||
347 | return MACRO_NONE; | ||
348 | } | ||
349 | // MACRODOWN only works in this function | ||
350 | switch(id) { | ||
351 | case UM: | ||
352 | unicode_mode = (unicode_mode + 1) % 2; | ||
353 | break; | ||
354 | |||
355 | |||
356 | default: | ||
357 | break; | ||
358 | } | ||
359 | return MACRO_NONE; | ||
360 | }; | ||
361 | |||
362 | // Runs just one time when the keyboard initializes. | ||
363 | void matrix_init_user(void) { | ||
364 | |||
365 | }; | ||
366 | |||
367 | // Runs constantly in the background, in a loop. | 345 | // Runs constantly in the background, in a loop. |
368 | void matrix_scan_user(void) { | 346 | void matrix_scan_user(void) { |
369 | uint8_t layer = biton32(layer_state); | 347 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/osx_de_adnw_koy/keymap.c b/layouts/community/ergodox/osx_de_adnw_koy/keymap.c index 8fc0f1fd9..08b11cccd 100644 --- a/layouts/community/ergodox/osx_de_adnw_koy/keymap.c +++ b/layouts/community/ergodox/osx_de_adnw_koy/keymap.c | |||
@@ -122,34 +122,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
122 | KC_TRNS, KC_TRNS, KC_TRNS), | 122 | KC_TRNS, KC_TRNS, KC_TRNS), |
123 | }; | 123 | }; |
124 | 124 | ||
125 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
126 | { | ||
127 | switch(id) { | ||
128 | case UNUSED: | ||
129 | //Macro: UNUSED//----------------------- | ||
130 | |||
131 | |||
132 | |||
133 | |||
134 | |||
135 | if (record->event.pressed) { | ||
136 | register_code(KC_RSFT); | ||
137 | } else { | ||
138 | unregister_code(KC_RSFT); | ||
139 | } | ||
140 | |||
141 | |||
142 | |||
143 | break; | ||
144 | } | ||
145 | return MACRO_NONE; | ||
146 | }; | ||
147 | |||
148 | // Runs just one time when the keyboard initializes. | ||
149 | void matrix_init_user(void) { | ||
150 | |||
151 | }; | ||
152 | |||
153 | // Runs constantly in the background, in a loop. | 125 | // Runs constantly in the background, in a loop. |
154 | void matrix_scan_user(void) { | 126 | void matrix_scan_user(void) { |
155 | 127 | ||
diff --git a/layouts/community/ergodox/osx_fr/keymap.c b/layouts/community/ergodox/osx_fr/keymap.c index dba9bf32b..09ef0edb6 100644 --- a/layouts/community/ergodox/osx_fr/keymap.c +++ b/layouts/community/ergodox/osx_fr/keymap.c | |||
@@ -138,26 +138,6 @@ LAYOUT_ergodox( | |||
138 | ), | 138 | ), |
139 | }; | 139 | }; |
140 | 140 | ||
141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
142 | { | ||
143 | // MACRODOWN only works in this function | ||
144 | switch(id) { | ||
145 | case 0: | ||
146 | if (record->event.pressed) { | ||
147 | register_code(KC_RSFT); | ||
148 | } else { | ||
149 | unregister_code(KC_RSFT); | ||
150 | } | ||
151 | break; | ||
152 | } | ||
153 | return MACRO_NONE; | ||
154 | }; | ||
155 | |||
156 | // Runs just one time when the keyboard initializes. | ||
157 | void matrix_init_user(void) { | ||
158 | |||
159 | }; | ||
160 | |||
161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
163 | 143 | ||
diff --git a/layouts/community/ergodox/osx_kinesis_pnut/keymap.c b/layouts/community/ergodox/osx_kinesis_pnut/keymap.c index 21e383bd2..ad6ea2736 100644 --- a/layouts/community/ergodox/osx_kinesis_pnut/keymap.c +++ b/layouts/community/ergodox/osx_kinesis_pnut/keymap.c | |||
@@ -142,26 +142,6 @@ LAYOUT_ergodox( | |||
142 | ), | 142 | ), |
143 | }; | 143 | }; |
144 | 144 | ||
145 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
146 | { | ||
147 | // MACRODOWN only works in this function | ||
148 | switch(id) { | ||
149 | case 0: | ||
150 | if (record->event.pressed) { | ||
151 | register_code(KC_RSFT); | ||
152 | } else { | ||
153 | unregister_code(KC_RSFT); | ||
154 | } | ||
155 | break; | ||
156 | } | ||
157 | return MACRO_NONE; | ||
158 | }; | ||
159 | |||
160 | // Runs just one time when the keyboard initializes. | ||
161 | void matrix_init_user(void) { | ||
162 | |||
163 | }; | ||
164 | |||
165 | // Runs constantly in the background, in a loop. | 145 | // Runs constantly in the background, in a loop. |
166 | void matrix_scan_user(void) { | 146 | void matrix_scan_user(void) { |
167 | 147 | ||
diff --git a/layouts/community/ergodox/phoenix/keymap.c b/layouts/community/ergodox/phoenix/keymap.c index b9be7e2b8..a66462e3a 100644 --- a/layouts/community/ergodox/phoenix/keymap.c +++ b/layouts/community/ergodox/phoenix/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 | ||
diff --git a/layouts/community/ergodox/plover/keymap.c b/layouts/community/ergodox/plover/keymap.c index 0ab60ffbb..b19634643 100644 --- a/layouts/community/ergodox/plover/keymap.c +++ b/layouts/community/ergodox/plover/keymap.c | |||
@@ -179,26 +179,6 @@ LAYOUT_ergodox( | |||
179 | ), | 179 | ), |
180 | }; | 180 | }; |
181 | 181 | ||
182 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
183 | { | ||
184 | // MACRODOWN only works in this function | ||
185 | switch(id) { | ||
186 | case 0: | ||
187 | if (record->event.pressed) { | ||
188 | register_code(KC_RSFT); | ||
189 | } else { | ||
190 | unregister_code(KC_RSFT); | ||
191 | } | ||
192 | break; | ||
193 | } | ||
194 | return MACRO_NONE; | ||
195 | }; | ||
196 | |||
197 | // Runs just one time when the keyboard initializes. | ||
198 | void matrix_init_user(void) { | ||
199 | |||
200 | }; | ||
201 | |||
202 | // Runs constantly in the background, in a loop. | 182 | // Runs constantly in the background, in a loop. |
203 | void matrix_scan_user(void) { | 183 | void matrix_scan_user(void) { |
204 | 184 | ||
diff --git a/layouts/community/ergodox/robot_test_layout/keymap.c b/layouts/community/ergodox/robot_test_layout/keymap.c index 07b294a98..4bdda3ae8 100644 --- a/layouts/community/ergodox/robot_test_layout/keymap.c +++ b/layouts/community/ergodox/robot_test_layout/keymap.c | |||
@@ -43,18 +43,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
43 | ) | 43 | ) |
44 | }; | 44 | }; |
45 | 45 | ||
46 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
47 | { | ||
48 | switch(id) { | ||
49 | case 0: | ||
50 | if (record->event.pressed) { | ||
51 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
52 | } | ||
53 | break; | ||
54 | } | ||
55 | return MACRO_NONE; | ||
56 | }; | ||
57 | |||
58 | bool status_led1_on = false, status_led2_on = false, status_led3_on = false; | 46 | bool status_led1_on = false, status_led2_on = false, status_led3_on = false; |
59 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 47 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
60 | switch (keycode) { | 48 | switch (keycode) { |
diff --git a/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c index caead7e16..c8ee21990 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-osx/keymap.c | |||
@@ -26,10 +26,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
26 | ) | 26 | ) |
27 | }; | 27 | }; |
28 | 28 | ||
29 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
30 | return MACRO_NONE; | ||
31 | }; | ||
32 | |||
33 | // Runs just one time when the keyboard initializes. | 29 | // Runs just one time when the keyboard initializes. |
34 | void matrix_init_user(void) { | 30 | void matrix_init_user(void) { |
35 | ergodox_board_led_off(); | 31 | ergodox_board_led_off(); |
@@ -37,7 +33,3 @@ void matrix_init_user(void) { | |||
37 | ergodox_right_led_2_off(); | 33 | ergodox_right_led_2_off(); |
38 | ergodox_right_led_3_off(); | 34 | ergodox_right_led_3_off(); |
39 | }; | 35 | }; |
40 | |||
41 | // Runs constantly in the background, in a loop. | ||
42 | void matrix_scan_user(void) { | ||
43 | }; | ||
diff --git a/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c index 866aa22f9..819944121 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c | |||
@@ -86,25 +86,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
86 | ), | 86 | ), |
87 | }; | 87 | }; |
88 | 88 | ||
89 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
90 | { | ||
91 | // MACRODOWN only works in this function | ||
92 | switch(id) { | ||
93 | case 0: | ||
94 | if (record->event.pressed) { | ||
95 | register_code(KC_RSFT); | ||
96 | } else { | ||
97 | unregister_code(KC_RSFT); | ||
98 | } | ||
99 | break; | ||
100 | } | ||
101 | return MACRO_NONE; | ||
102 | }; | ||
103 | |||
104 | // Runs just one time when the keyboard initializes. | ||
105 | void matrix_init_user(void) { | ||
106 | }; | ||
107 | |||
108 | // Runs constantly in the background, in a loop. | 89 | // Runs constantly in the background, in a loop. |
109 | void matrix_scan_user(void) { | 90 | void matrix_scan_user(void) { |
110 | uint8_t layer = biton32(layer_state); | 91 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c index 08aad4f22..a0964fac7 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c | |||
@@ -86,25 +86,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
86 | ), | 86 | ), |
87 | }; | 87 | }; |
88 | 88 | ||
89 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
90 | { | ||
91 | // MACRODOWN only works in this function | ||
92 | switch(id) { | ||
93 | case 0: | ||
94 | if (record->event.pressed) { | ||
95 | register_code(KC_RSFT); | ||
96 | } else { | ||
97 | unregister_code(KC_RSFT); | ||
98 | } | ||
99 | break; | ||
100 | } | ||
101 | return MACRO_NONE; | ||
102 | }; | ||
103 | |||
104 | // Runs just one time when the keyboard initializes. | ||
105 | void matrix_init_user(void) { | ||
106 | }; | ||
107 | |||
108 | // Runs constantly in the background, in a loop. | 89 | // Runs constantly in the background, in a loop. |
109 | void matrix_scan_user(void) { | 90 | void matrix_scan_user(void) { |
110 | uint8_t layer = biton32(layer_state); | 91 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/keymap.c index ffa106f70..6aca3a6d5 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-qwerty-osx/keymap.c | |||
@@ -46,14 +46,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
46 | ), | 46 | ), |
47 | }; | 47 | }; |
48 | 48 | ||
49 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
50 | return MACRO_NONE; | ||
51 | }; | ||
52 | |||
53 | // Runs just one time when the keyboard initializes. | ||
54 | void matrix_init_user(void) { | ||
55 | }; | ||
56 | |||
57 | // Runs constantly in the background, in a loop. | 49 | // Runs constantly in the background, in a loop. |
58 | void matrix_scan_user(void) { | 50 | void matrix_scan_user(void) { |
59 | uint8_t layer = biton32(layer_state); | 51 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/siroken3/keymap.c b/layouts/community/ergodox/siroken3/keymap.c index 98422b440..fed8b4a0c 100644 --- a/layouts/community/ergodox/siroken3/keymap.c +++ b/layouts/community/ergodox/siroken3/keymap.c | |||
@@ -138,26 +138,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
138 | ), | 138 | ), |
139 | }; | 139 | }; |
140 | 140 | ||
141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
142 | { | ||
143 | // MACRODOWN only works in this function | ||
144 | switch(id) { | ||
145 | case 0: | ||
146 | if (record->event.pressed) { | ||
147 | register_code(KC_RSFT); | ||
148 | } else { | ||
149 | unregister_code(KC_RSFT); | ||
150 | } | ||
151 | break; | ||
152 | } | ||
153 | return MACRO_NONE; | ||
154 | }; | ||
155 | |||
156 | // Runs just one time when the keyboard initializes. | ||
157 | void matrix_init_user(void) { | ||
158 | |||
159 | }; | ||
160 | |||
161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
163 | 143 | ||
diff --git a/layouts/community/ergodox/sneako/keymap.c b/layouts/community/ergodox/sneako/keymap.c index 313e597d7..9d3cdd5a1 100644 --- a/layouts/community/ergodox/sneako/keymap.c +++ b/layouts/community/ergodox/sneako/keymap.c | |||
@@ -138,26 +138,6 @@ LAYOUT_ergodox( | |||
138 | ), | 138 | ), |
139 | }; | 139 | }; |
140 | 140 | ||
141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
142 | { | ||
143 | // MACRODOWN only works in this function | ||
144 | switch(id) { | ||
145 | case 0: | ||
146 | if (record->event.pressed) { | ||
147 | register_code(KC_RSFT); | ||
148 | } else { | ||
149 | unregister_code(KC_RSFT); | ||
150 | } | ||
151 | break; | ||
152 | } | ||
153 | return MACRO_NONE; | ||
154 | }; | ||
155 | |||
156 | // Runs just one time when the keyboard initializes. | ||
157 | void matrix_init_user(void) { | ||
158 | |||
159 | }; | ||
160 | |||
161 | // Runs constantly in the background, in a loop. | 141 | // Runs constantly in the background, in a loop. |
162 | void matrix_scan_user(void) { | 142 | void matrix_scan_user(void) { |
163 | 143 | ||
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 | ||
diff --git a/layouts/community/ergodox/supercoder/keymap.c b/layouts/community/ergodox/supercoder/keymap.c index 3aa34a8e4..9efe09fcf 100644 --- a/layouts/community/ergodox/supercoder/keymap.c +++ b/layouts/community/ergodox/supercoder/keymap.c | |||
@@ -57,16 +57,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
57 | ,KC_ENT ,KC_ENT ,KC_ENT | 57 | ,KC_ENT ,KC_ENT ,KC_ENT |
58 | ), | 58 | ), |
59 | }; | 59 | }; |
60 | |||
61 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
62 | { | ||
63 | return MACRO_NONE; | ||
64 | }; | ||
65 | |||
66 | // Runs just one time when the keyboard initializes. | ||
67 | void matrix_init_user(void) { | ||
68 | }; | ||
69 | |||
70 | // Runs constantly in the background, in a loop. | ||
71 | void matrix_scan_user(void) { | ||
72 | } | ||
diff --git a/layouts/community/ergodox/swedish/keymap.c b/layouts/community/ergodox/swedish/keymap.c index 454dcc35c..8ef15d097 100644 --- a/layouts/community/ergodox/swedish/keymap.c +++ b/layouts/community/ergodox/swedish/keymap.c | |||
@@ -167,24 +167,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
167 | ), | 167 | ), |
168 | }; | 168 | }; |
169 | 169 | ||
170 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
171 | { | ||
172 | // MACRODOWN only works in this function | ||
173 | switch(id) { | ||
174 | case 0: | ||
175 | if (record->event.pressed) { | ||
176 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
177 | } | ||
178 | break; | ||
179 | case 1: | ||
180 | if (record->event.pressed) { // For resetting EEPROM | ||
181 | eeconfig_init(); | ||
182 | } | ||
183 | break; | ||
184 | } | ||
185 | return MACRO_NONE; | ||
186 | }; | ||
187 | |||
188 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | 170 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { |
189 | switch (keycode) { | 171 | switch (keycode) { |
190 | // dynamically generate these. | 172 | // dynamically generate these. |
diff --git a/layouts/community/ergodox/techtomas/keymap.c b/layouts/community/ergodox/techtomas/keymap.c index 07228c4c0..742eca03a 100644 --- a/layouts/community/ergodox/techtomas/keymap.c +++ b/layouts/community/ergodox/techtomas/keymap.c | |||
@@ -177,26 +177,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
177 | ), | 177 | ), |
178 | }; | 178 | }; |
179 | 179 | ||
180 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
181 | { | ||
182 | // MACRODOWN only works in this function | ||
183 | switch(id) { | ||
184 | case 0: | ||
185 | if (record->event.pressed) { | ||
186 | register_code(KC_RSFT); | ||
187 | } else { | ||
188 | unregister_code(KC_RSFT); | ||
189 | } | ||
190 | break; | ||
191 | } | ||
192 | return MACRO_NONE; | ||
193 | }; | ||
194 | |||
195 | // Runs just one time when the keyboard initializes. | ||
196 | void matrix_init_user(void) { | ||
197 | |||
198 | }; | ||
199 | |||
200 | // Runs constantly in the background, in a loop. | 180 | // Runs constantly in the background, in a loop. |
201 | void matrix_scan_user(void) { | 181 | void matrix_scan_user(void) { |
202 | 182 | ||
diff --git a/layouts/community/ergodox/tkuichooseyou/keymap.c b/layouts/community/ergodox/tkuichooseyou/keymap.c index 9141cd1c7..ea6c8f259 100644 --- a/layouts/community/ergodox/tkuichooseyou/keymap.c +++ b/layouts/community/ergodox/tkuichooseyou/keymap.c | |||
@@ -135,26 +135,6 @@ LAYOUT_ergodox( | |||
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 | ||
diff --git a/layouts/community/ergodox/tonyabra_osx/keymap.c b/layouts/community/ergodox/tonyabra_osx/keymap.c index 469c21944..741a6396e 100644 --- a/layouts/community/ergodox/tonyabra_osx/keymap.c +++ b/layouts/community/ergodox/tonyabra_osx/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 | ||
diff --git a/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c b/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c index 6bca18316..4b5181a70 100644 --- a/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c +++ b/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c | |||
@@ -173,18 +173,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
173 | 173 | ||
174 | }; | 174 | }; |
175 | 175 | ||
176 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
177 | { | ||
178 | switch(id) { | ||
179 | case 0: | ||
180 | if (record->event.pressed) { | ||
181 | SEND_STRING (QMK_KEYBOARD "/" QMK_KEYMAP " @ " QMK_VERSION); | ||
182 | } | ||
183 | break; | ||
184 | } | ||
185 | return MACRO_NONE; | ||
186 | }; | ||
187 | |||
188 | void matrix_scan_user(void) { | 176 | void matrix_scan_user(void) { |
189 | 177 | ||
190 | uint8_t layer = biton32(layer_state); | 178 | uint8_t layer = biton32(layer_state); |
diff --git a/layouts/community/ergodox/yoruian/keymap.c b/layouts/community/ergodox/yoruian/keymap.c index b304fa070..a5ffcd886 100644 --- a/layouts/community/ergodox/yoruian/keymap.c +++ b/layouts/community/ergodox/yoruian/keymap.c | |||
@@ -37,13 +37,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
37 | TR, TR, TR, TR, TR, TR), | 37 | TR, TR, TR, TR, TR, TR), |
38 | }; | 38 | }; |
39 | 39 | ||
40 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | ||
41 | return MACRO_NONE; | ||
42 | }; | ||
43 | |||
44 | void matrix_init_user(void) { | ||
45 | }; | ||
46 | |||
47 | void matrix_scan_user(void) { | 40 | void matrix_scan_user(void) { |
48 | ergodox_board_led_off(); | 41 | ergodox_board_led_off(); |
49 | ergodox_right_led_1_off(); | 42 | ergodox_right_led_1_off(); |
diff --git a/layouts/community/ergodox/zweihander-macos/keymap.c b/layouts/community/ergodox/zweihander-macos/keymap.c index 93a435efb..b2ddeb0d6 100644 --- a/layouts/community/ergodox/zweihander-macos/keymap.c +++ b/layouts/community/ergodox/zweihander-macos/keymap.c | |||
@@ -137,18 +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 | |||
144 | return MACRO_NONE; | ||
145 | }; | ||
146 | |||
147 | // Runs just one time when the keyboard initializes. | ||
148 | void matrix_init_user(void) { | ||
149 | |||
150 | }; | ||
151 | |||
152 | // Runs constantly in the background, in a loop. | 140 | // Runs constantly in the background, in a loop. |
153 | void matrix_scan_user(void) { | 141 | void matrix_scan_user(void) { |
154 | 142 | ||
diff --git a/layouts/community/ortho_4x12/mindsound/keymap.c b/layouts/community/ortho_4x12/mindsound/keymap.c index 03b0486c5..613f11d13 100644 --- a/layouts/community/ortho_4x12/mindsound/keymap.c +++ b/layouts/community/ortho_4x12/mindsound/keymap.c | |||
@@ -133,11 +133,6 @@ void matrix_init_user(void) { | |||
133 | } | 133 | } |
134 | #endif | 134 | #endif |
135 | 135 | ||
136 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
137 | { | ||
138 | return MACRO_NONE; | ||
139 | }; | ||
140 | |||
141 | void persistant_default_layer_set(uint16_t default_layer) { | 136 | void persistant_default_layer_set(uint16_t default_layer) { |
142 | eeconfig_update_default_layer(default_layer); | 137 | eeconfig_update_default_layer(default_layer); |
143 | default_layer_set(default_layer); | 138 | default_layer_set(default_layer); |