summaryrefslogtreecommitdiff
path: root/keyboards/preonic/keymaps/shwilliam/config.h
diff options
context:
space:
mode:
authorWilliam Lindvall <w-lindvall@outlook.com>2020-06-15 03:26:58 -0700
committerGitHub <noreply@github.com>2020-06-15 03:26:58 -0700
commit7f5656996ca2f5a62a148ef9165d0681ba806f07 (patch)
tree684b1511b707d31bbca4141a03a1fa649f32666f /keyboards/preonic/keymaps/shwilliam/config.h
parentb008a9afe6f216cebe4c664d5ce59cd6bfe755c3 (diff)
[Keymap] Add "shwilliam" Preonic keymap (#9409)
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/preonic/keymaps/shwilliam/config.h')
-rw-r--r--keyboards/preonic/keymaps/shwilliam/config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/preonic/keymaps/shwilliam/config.h b/keyboards/preonic/keymaps/shwilliam/config.h
new file mode 100644
index 0000000000..959f94fe2b
--- /dev/null
+++ b/keyboards/preonic/keymaps/shwilliam/config.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#ifdef AUDIO_ENABLE
+ #define STARTUP_SONG SONG(PREONIC_SOUND)
+ // #define STARTUP_SONG SONG(NO_SOUND)
+#endif
+
+#define MUSIC_MASK (keycode != KC_NO)
+
+/* prevent use of disabled MIDI features in the keymap */
+//#define MIDI_ENABLE_STRICT 1
+
+#define MIDI_BASIC
+
+/* enable advanced MIDI features */
+//#define MIDI_ADVANCED
+
+/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
+//#define MIDI_TONE_KEYCODE_OCTAVES 2