forked from mirrors/qmk_userspace
Merge pull request #1112 from newsboytko/newsboytko/midi-keycodes
Flesh out MIDI support
This commit is contained in:
commit
7e37daa2ce
36 changed files with 1435 additions and 496 deletions
|
@ -98,8 +98,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
|
||||
void reset_keyboard(void) {
|
||||
clear_keyboard();
|
||||
#ifdef AUDIO_ENABLE
|
||||
stop_all_notes();
|
||||
#if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_ENABLE_BASIC))
|
||||
music_all_notes_off();
|
||||
shutdown_user();
|
||||
#endif
|
||||
wait_ms(250);
|
||||
|
@ -153,10 +153,13 @@ bool process_record_quantum(keyrecord_t *record) {
|
|||
|
||||
if (!(
|
||||
process_record_kb(keycode, record) &&
|
||||
#ifdef MIDI_ENABLE
|
||||
#if defined(MIDI_ENABLE) && defined(MIDI_ADVANCED)
|
||||
process_midi(keycode, record) &&
|
||||
#endif
|
||||
#ifdef AUDIO_ENABLE
|
||||
process_audio(keycode, record) &&
|
||||
#endif
|
||||
#if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC))
|
||||
process_music(keycode, record) &&
|
||||
#endif
|
||||
#ifdef TAP_DANCE_ENABLE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue