summaryrefslogtreecommitdiff
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 6b0e890792..688fb892eb 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -193,16 +193,16 @@
#define QK_SWAP_HANDS_GET_TAP_KEYCODE(kc) ((kc)&0xFF)
// MIDI aliases
-#define MIDI_TONE_MIN MI_C
-#define MIDI_TONE_MAX MI_B_5
-#define MIDI_OCTAVE_MIN MI_OCT_N2
-#define MIDI_OCTAVE_MAX MI_OCT_7
-#define MIDI_TRANSPOSE_MIN MI_TRNS_N6
-#define MIDI_TRANSPOSE_MAX MI_TRNS_6
-#define MIDI_VELOCITY_MIN MI_VEL_0
-#define MIDI_VELOCITY_MAX MI_VEL_10
-#define MIDI_CHANNEL_MIN MI_CH1
-#define MIDI_CHANNEL_MAX MI_CH16
+#define MIDI_TONE_MIN QK_MIDI_NOTE_C_0
+#define MIDI_TONE_MAX QK_MIDI_NOTE_B_5
+#define MIDI_OCTAVE_MIN QK_MIDI_OCTAVE_N2
+#define MIDI_OCTAVE_MAX QK_MIDI_OCTAVE_7
+#define MIDI_TRANSPOSE_MIN QK_MIDI_TRANSPOSE_N6
+#define MIDI_TRANSPOSE_MAX QK_MIDI_TRANSPOSE_6
+#define MIDI_VELOCITY_MIN QK_MIDI_VELOCITY_0
+#define MIDI_VELOCITY_MAX QK_MIDI_VELOCITY_10
+#define MIDI_CHANNEL_MIN QK_MIDI_CHANNEL_1
+#define MIDI_CHANNEL_MAX QK_MIDI_CHANNEL_16
// TODO: somehow migrate sequencer to DD?
#include "sequencer.h"