diff options
Diffstat (limited to 'docs/feature_midi.md')
-rw-r--r-- | docs/feature_midi.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/feature_midi.md b/docs/feature_midi.md index 1f0809ef14..59ee0114c8 100644 --- a/docs/feature_midi.md +++ b/docs/feature_midi.md @@ -60,9 +60,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { switch (keycode) { case MIDI_CC80: if (record->event.pressed) { - midi_send_cc(&midi_device, midi_config.channel, 80, ON); + midi_send_cc(&midi_device, midi_config.channel, 80, MIDI_CC_ON); } else { - midi_send_cc(&midi_device, midi_config.channel, 80, OFF); + midi_send_cc(&midi_device, midi_config.channel, 80, MIDI_CC_OFF); } return true; } @@ -250,10 +250,10 @@ For the above, the `MI_C` keycode will produce a C3 (note number 48), and so on. * `quantum/process_keycode/process_midi.c` * `quantum/quantum_keycodes.h` - * `tmk_core/protocol/midi.h` - * `tmk_core/protocol/midi.c` - * `tmk_core/protocol/qmk_midi.c` - * `tmk_core/protocol/midi_device.h` + * `quantum/midi/midi.h` + * `quantum/midi/midi.c` + * `quantum/midi/qmk_midi.c` + * `quantum/midi/midi_device.h` <!-- #### QMK Internals (Autogenerated) |