summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_audio.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2018-07-16 17:48:31 +0200
committerGitHub <noreply@github.com>2018-07-16 17:48:31 +0200
commitade22f8e2c272044ea2f80ff6fe5ca9576858939 (patch)
tree03c0131fa5982afc10a60e1fdd38a60be750291b /quantum/process_keycode/process_audio.h
parent96cb9f4661faa80e795b1e6731b7a8e8a50bd0cb (diff)
downloadqmk_firmware-ade22f8e2c272044ea2f80ff6fe5ca9576858939.tar.gz
qmk_firmware-ade22f8e2c272044ea2f80ff6fe5ca9576858939.tar.xz
Adds support for Planck Rev 6 (#2666)
* initial files for rev 6 with encoder * music map init, dip scan added * adds ws2812 driver for arm * flesh out dip and encoder support * adds default encoder res * adds default encoder res * start muse implementation * muse working with encoder as control * flip direction * try mouse wheel again * dont break other revs * dont break other revs * conditional autio * pwm ws driver (not working) * update build includes for chibios * update ws2812 driver/config * last commit for glasser code * working example * remove rgb for now * finish up rev6 * working encoder keycodes * add warnings to planck keymaps about the LAYOUT
Diffstat (limited to 'quantum/process_keycode/process_audio.h')
-rw-r--r--quantum/process_keycode/process_audio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_audio.h b/quantum/process_keycode/process_audio.h
index 7ac15b733..3a84c3d86 100644
--- a/quantum/process_keycode/process_audio.h
+++ b/quantum/process_keycode/process_audio.h
@@ -1,6 +1,8 @@
#ifndef PROCESS_AUDIO_H
#define PROCESS_AUDIO_H
+float compute_freq_for_midi_note(uint8_t note);
+
bool process_audio(uint16_t keycode, keyrecord_t *record);
void process_audio_noteon(uint8_t note);
void process_audio_noteoff(uint8_t note);
@@ -8,4 +10,4 @@ void process_audio_all_notes_off(void);
void audio_on_user(void);
-#endif \ No newline at end of file
+#endif