summaryrefslogtreecommitdiffstats
path: root/quantum/quantum.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-05-19 05:14:00 +0200
committerJack Humbert <jack.humb@gmail.com>2016-05-19 05:14:00 +0200
commit0428214b905e5f8b3bed721885957ce249ba4991 (patch)
treee307462b501d077bb3aec774ebeb15e5f95dd5d7 /quantum/quantum.h
parent465aabe11dbd673fb4c68ecbffbfb062273def1a (diff)
downloadqmk_firmware-0428214b905e5f8b3bed721885957ce249ba4991.tar.gz
qmk_firmware-0428214b905e5f8b3bed721885957ce249ba4991.tar.xz
adds music and audio toggles (#337)
* Updated personal layouts * tweaked personal * Nightly - Audio Cleanup Refactored the LUTs. Abstracted some of the registers out of audio to use more functional names. Split audio into audio and audio_pwm. WIP * nightly - collapsed code * Added check for note playing to LEDs * Usability tweaks * TWEAE * nightly added extra kcs to keymap common * turned on Plank audio * Added backlight breathing to atomic * reverted accidental merge * Added music and audio toggles to Quantum.c * Redid the audio callbacks * music/audio_on_user
Diffstat (limited to 'quantum/quantum.h')
-rw-r--r--quantum/quantum.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h
index bfecdb262..f4d8f09d4 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -46,4 +46,11 @@ void leader_end(void);
#define LEADER_EXTERNS() extern bool leading; extern uint16_t leader_time; extern uint16_t leader_sequence[3]; extern uint8_t leader_sequence_size
#define LEADER_DICTIONARY() if (leading && timer_elapsed(leader_time) > LEADER_TIMEOUT)
+bool is_music_on(void);
+void music_toggle(void);
+void music_on(void);
+void music_off(void);
+
+void music_on_user(void);
+
#endif \ No newline at end of file