summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_audio.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-03-28 15:26:54 +0200
committerGitHub <noreply@github.com>2017-03-28 15:26:54 +0200
commit7e37daa2ce6edad82de3835384176b51a8081537 (patch)
tree58f349edb063667c9ae0affd99cec2bf7a7f93cb /quantum/process_keycode/process_audio.h
parent216f669276b30393fb35a409011ccdad8b521156 (diff)
parent0734f569409974624b40735fcd498dac9adba2d2 (diff)
downloadqmk_firmware-7e37daa2ce6edad82de3835384176b51a8081537.tar.gz
qmk_firmware-7e37daa2ce6edad82de3835384176b51a8081537.tar.xz
Merge pull request #1112 from newsboytko/newsboytko/midi-keycodes
Flesh out MIDI support
Diffstat (limited to 'quantum/process_keycode/process_audio.h')
-rw-r--r--quantum/process_keycode/process_audio.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_audio.h b/quantum/process_keycode/process_audio.h
new file mode 100644
index 000000000..7ac15b733
--- /dev/null
+++ b/quantum/process_keycode/process_audio.h
@@ -0,0 +1,11 @@
+#ifndef PROCESS_AUDIO_H
+#define PROCESS_AUDIO_H
+
+bool process_audio(uint16_t keycode, keyrecord_t *record);
+void process_audio_noteon(uint8_t note);
+void process_audio_noteoff(uint8_t note);
+void process_audio_all_notes_off(void);
+
+void audio_on_user(void);
+
+#endif \ No newline at end of file