summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/aviator/config.h
diff options
context:
space:
mode:
authorJohn Ramsay <34961240+ramsayjp@users.noreply.github.com>2018-01-02 09:35:32 +1100
committerJack Humbert <jack.humb@gmail.com>2018-01-01 17:35:32 -0500
commitd6215ad6aff3857cea8a6877b56a547a76ab13ac (patch)
tree3b9af48e30a10f86ce80c8a14105e6f155229357 /keyboards/planck/keymaps/aviator/config.h
parenteba4cb7a0437c115c56dfe1796a76c69a99c4d4f (diff)
Aviator Keymap (#2204)
* Create aviator.txt * Add files via upload * Delete aviator.txt * Delete readme.md * Add files via upload * Update readme.md * Update readme.md * Delete keyboard-layout.png * Update readme.md * Update readme.md * Update readme.md
Diffstat (limited to 'keyboards/planck/keymaps/aviator/config.h')
-rw-r--r--keyboards/planck/keymaps/aviator/config.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/aviator/config.h b/keyboards/planck/keymaps/aviator/config.h
new file mode 100644
index 0000000000..6bc53cf57b
--- /dev/null
+++ b/keyboards/planck/keymaps/aviator/config.h
@@ -0,0 +1,44 @@
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "config_common.h"
+
+#define BACKLIGHT_BREATHING
+
+#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
+ */
+
+/* Prevent use of disabled MIDI features in the keymap */
+//#define MIDI_ENABLE_STRICT 1
+
+/* enable basic MIDI features:
+ - MIDI notes can be sent when in Music mode is on
+*/
+
+#define MIDI_BASIC
+
+/* enable advanced MIDI features:
+ - MIDI notes can be added to the keymap
+ - Octave shift and transpose
+ - Virtual sustain, portamento, and modulation wheel
+ - etc.
+*/
+//#define MIDI_ADVANCED
+
+/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
+//#define MIDI_TONE_KEYCODE_OCTAVES 2
+
+#endif