diff options
Diffstat (limited to 'quantum/quantum_keycodes.h')
| -rw-r--r-- | quantum/quantum_keycodes.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h index 6d1438051..3b82b7208 100644 --- a/quantum/quantum_keycodes.h +++ b/quantum/quantum_keycodes.h | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | #ifndef QUANTUM_KEYCODES_H | 2 | #ifndef QUANTUM_KEYCODES_H |
| 3 | #define QUANTUM_KEYCODES_H | 3 | #define QUANTUM_KEYCODES_H |
| 4 | 4 | ||
| 5 | #ifdef MIDI_ENABLE | 5 | #if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED) |
| 6 | #ifndef MIDI_TONE_KEYCODE_OCTAVES | 6 | #ifndef MIDI_TONE_KEYCODE_OCTAVES |
| 7 | #define MIDI_TONE_KEYCODE_OCTAVES 3 | 7 | #define MIDI_TONE_KEYCODE_OCTAVES 3 |
| 8 | #endif | 8 | #endif |
| @@ -116,6 +116,12 @@ enum quantum_keycodes { | |||
| 116 | #ifdef MIDI_ENABLE | 116 | #ifdef MIDI_ENABLE |
| 117 | // Midi | 117 | // Midi |
| 118 | 118 | ||
| 119 | #ifdef MIDI_BASIC | ||
| 120 | MI_ON, // send midi notes when music mode is enabled | ||
| 121 | MI_OFF, // don't send midi notes when music mode is enabled | ||
| 122 | #endif | ||
| 123 | |||
| 124 | #ifdef MIDI_ADVANCED | ||
| 119 | MIDI_TONE_MIN, | 125 | MIDI_TONE_MIN, |
| 120 | 126 | ||
| 121 | #if MIDI_TONE_KEYCODE_OCTAVES > 0 | 127 | #if MIDI_TONE_KEYCODE_OCTAVES > 0 |
| @@ -321,7 +327,7 @@ enum quantum_keycodes { | |||
| 321 | MI_CHD, // previous channel | 327 | MI_CHD, // previous channel |
| 322 | MI_CHU, // next channel | 328 | MI_CHU, // next channel |
| 323 | 329 | ||
| 324 | MI_OFF, // all notes off | 330 | MI_ALLOFF, // all notes off |
| 325 | 331 | ||
| 326 | MI_SUS, // sustain | 332 | MI_SUS, // sustain |
| 327 | MI_PORT, // portamento | 333 | MI_PORT, // portamento |
| @@ -332,7 +338,8 @@ enum quantum_keycodes { | |||
| 332 | MI_MOD, // modulation | 338 | MI_MOD, // modulation |
| 333 | MI_MODSD, // decrease modulation speed | 339 | MI_MODSD, // decrease modulation speed |
| 334 | MI_MODSU, // increase modulation speed | 340 | MI_MODSU, // increase modulation speed |
| 335 | #endif | 341 | #endif // MIDI_ADVANCED |
| 342 | #endif // MIDI_ENABLE | ||
| 336 | 343 | ||
| 337 | // Backlight functionality | 344 | // Backlight functionality |
| 338 | BL_0, | 345 | BL_0, |
