aboutsummaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
Diffstat (limited to 'quantum')
-rw-r--r--quantum/dynamic_macro.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/dynamic_macro.h b/quantum/dynamic_macro.h
index 64093f293..939816a59 100644
--- a/quantum/dynamic_macro.h
+++ b/quantum/dynamic_macro.h
@@ -40,6 +40,7 @@
40enum dynamic_macro_keycodes { 40enum dynamic_macro_keycodes {
41 DYN_REC_START1 = DYNAMIC_MACRO_RANGE, 41 DYN_REC_START1 = DYNAMIC_MACRO_RANGE,
42 DYN_REC_START2, 42 DYN_REC_START2,
43 DYN_REC_STOP,
43 DYN_MACRO_PLAY1, 44 DYN_MACRO_PLAY1,
44 DYN_MACRO_PLAY2, 45 DYN_MACRO_PLAY2,
45}; 46};
@@ -209,9 +210,8 @@ bool process_record_dynamic_macro(uint16_t keycode, keyrecord_t *record)
209 } else { 210 } else {
210 /* A macro is being recorded right now. */ 211 /* A macro is being recorded right now. */
211 switch (keycode) { 212 switch (keycode) {
212 case MO(_DYN): 213 case DYN_REC_STOP:
213 /* Use the layer key used to access the macro recording as 214 /* Stop the macro recording. */
214 * a stop button. */
215 if (record->event.pressed) { /* Ignore the initial release 215 if (record->event.pressed) { /* Ignore the initial release
216 * just after the recoding 216 * just after the recoding
217 * starts. */ 217 * starts. */