summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/default/config.h
diff options
context:
space:
mode:
authorFabian Topfstedt2017-07-25 09:48:58 +0200
committerFabian Topfstedt2017-07-25 09:48:58 +0200
commit4ee571b25734561ce44c0f22e9bff72f4a822cc3 (patch)
tree51f3b6d438e10df6f716ce58268d29319104fb8c /keyboards/planck/keymaps/default/config.h
parentee43856ff7ba37ea89d1a8a4700efba4e4f69571 (diff)
parentcefc09ae7dd88cd6b92412881888404da1abdfcb (diff)
Merge https://github.com/qmk/qmk_firmware
Diffstat (limited to 'keyboards/planck/keymaps/default/config.h')
-rw-r--r--keyboards/planck/keymaps/default/config.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/default/config.h b/keyboards/planck/keymaps/default/config.h
index 4c6158199..b406e2fed 100644
--- a/keyboards/planck/keymaps/default/config.h
+++ b/keyboards/planck/keymaps/default/config.h
@@ -3,6 +3,18 @@
#include "../../config.h"
+#ifdef AUDIO_ENABLE
+ #define STARTUP_SONG SONG(PLANCK_SOUND)
+ // #define STARTUP_SONG SONG(NO_SOUND)
+
+ #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
+ SONG(COLEMAK_SOUND), \
+ SONG(DVORAK_SOUND) \
+ }
+#endif
+
+#define MUSIC_MASK (keycode != KC_NO)
+
/*
* MIDI options
*/
@@ -13,6 +25,7 @@
/* enable basic MIDI features:
- MIDI notes can be sent when in Music mode is on
*/
+
#define MIDI_BASIC
/* enable advanced MIDI features: