summaryrefslogtreecommitdiffstats
path: root/quantum/keymap_common.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-05-18 23:14:00 -0400
committerJack Humbert <jack.humb@gmail.com>2016-05-18 23:14:00 -0400
commit0428214b905e5f8b3bed721885957ce249ba4991 (patch)
treee307462b501d077bb3aec774ebeb15e5f95dd5d7 /quantum/keymap_common.h
parent465aabe11dbd673fb4c68ecbffbfb062273def1a (diff)
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/keymap_common.h')
-rw-r--r--quantum/keymap_common.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/quantum/keymap_common.h b/quantum/keymap_common.h
index 07020150ae..1cbe8c61c0 100644
--- a/quantum/keymap_common.h
+++ b/quantum/keymap_common.h
@@ -224,18 +224,20 @@ extern const uint16_t fn_actions[];
// Audio on/off
#define AU_ON 0x5020
#define AU_OFF 0x5021
+#define AU_TOG 0x5022
// Music mode on/off
-#define MU_ON 0x5022
-#define MU_OFF 0x5023
+#define MU_ON 0x5023
+#define MU_OFF 0x5024
+#define MU_TOG 0x5025
// Music voice iterate
-#define MUV_IN 0x5024
-#define MUV_DE 0x5025
+#define MUV_IN 0x5026
+#define MUV_DE 0x5027
// Midi mode on/off
-#define MI_ON 0x5026
-#define MI_OFF 0x5027
+#define MI_ON 0x5028
+#define MI_OFF 0x5029
// GOTO layer - 16 layers max
// when: