summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/kanbara/config.h
diff options
context:
space:
mode:
authorJay <takuya813@gmail.com>2021-05-21 21:38:42 -0700
committerGitHub <noreply@github.com>2021-05-21 21:38:42 -0700
commitd425fcc8b126bc707e072472d32cf125c6229d85 (patch)
treecdccb5f39d4edc9a6d6bfb2e2f685c1eff53fead /keyboards/planck/keymaps/kanbara/config.h
parent10f8a6d983f4caf04acb51df1a421c607f6485b2 (diff)
downloadqmk_firmware-d425fcc8b126bc707e072472d32cf125c6229d85.tar.gz
qmk_firmware-d425fcc8b126bc707e072472d32cf125c6229d85.zip
[Keymap] Add kanbara's planck/rev4 keymap (#12486)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Jay Morrow <jay.morrow@apple.com>
Diffstat (limited to 'keyboards/planck/keymaps/kanbara/config.h')
-rw-r--r--keyboards/planck/keymaps/kanbara/config.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/kanbara/config.h b/keyboards/planck/keymaps/kanbara/config.h
new file mode 100644
index 0000000000..b701b9b40d
--- /dev/null
+++ b/keyboards/planck/keymaps/kanbara/config.h
@@ -0,0 +1,31 @@
+/* Copyright 2021 Jay Morrow
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#ifdef AUDIO_ENABLE
+ #ifdef TEMPO_DEFAULT
+ #undef TEMPO_DEFAULT
+ #define TEMPO_DEFAULT 80
+ #endif
+
+ #define STARTUP_SONG SONG(MAJOR_SOUND)
+
+ #define DEFAULT_LAYER_SONGS { SONG(COLEMAK_SOUND), \
+ SONG(DVORAK_SOUND), \
+ SONG(WORKMAN_SOUND) \
+ }
+#endif