diff options
author | Gabriel Young <gabeplaysdrums@live.com> | 2017-02-25 19:25:33 -0800 |
---|---|---|
committer | Gabriel Young <gabeplaysdrums@live.com> | 2017-02-25 19:25:33 -0800 |
commit | 1000799d1ef594bf9f48076986ec300ef9e536db (patch) | |
tree | e561400e2a5f2e0c27238b1e2602164140039918 /quantum/process_keycode/process_music.h | |
parent | 525be99ee938aa6e48448d7dd6ea6e6fe50bb36d (diff) | |
download | qmk_firmware-1000799d1ef594bf9f48076986ec300ef9e536db.tar.gz |
Factor basic note processing into respective processors
Diffstat (limited to 'quantum/process_keycode/process_music.h')
-rw-r--r-- | quantum/process_keycode/process_music.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_music.h b/quantum/process_keycode/process_music.h index 318b3e387..69913b276 100644 --- a/quantum/process_keycode/process_music.h +++ b/quantum/process_keycode/process_music.h @@ -3,6 +3,8 @@ #include "quantum.h" +#if defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC)) + bool process_music(uint16_t keycode, keyrecord_t *record); bool is_music_on(void); @@ -10,7 +12,6 @@ void music_toggle(void); void music_on(void); void music_off(void); -void audio_on_user(void); void music_on_user(void); void music_scale_user(void); @@ -24,4 +25,6 @@ void matrix_scan_music(void); 0 + (12*4), 2 + (12*4), 4 + (12*4), 5 + (12*4), 7 + (12*4), 9 + (12*4), 11 + (12*4), } #endif +#endif // defined(AUDIO_ENABLE) || (defined(MIDI_ENABLE) && defined(MIDI_BASIC)) + #endif
\ No newline at end of file |