summaryrefslogtreecommitdiff
path: root/keyboards/contra/keymaps/deastiny/config.h
diff options
context:
space:
mode:
authorDeastinY <DeastinY@users.noreply.github.com>2018-08-19 21:30:28 +0200
committerDrashna Jaelre <drashna@live.com>2018-08-19 12:30:28 -0700
commit10b4591d88c2573ee3bdf99d195856f66c4899c3 (patch)
treece4ce64cf14aec309dab1da64f91a8aaa3c84c49 /keyboards/contra/keymaps/deastiny/config.h
parentfe687af54d9a6810ded8bb4dd959eca9fe3e847c (diff)
Keymap: Added deastiny layout for contra [based on dvorak type II] (#3673)
* Added deastiny layout for contra [based on dvorak type II] * added questionmark and slash to another layer * added pragma once
Diffstat (limited to 'keyboards/contra/keymaps/deastiny/config.h')
-rw-r--r--keyboards/contra/keymaps/deastiny/config.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/keyboards/contra/keymaps/deastiny/config.h b/keyboards/contra/keymaps/deastiny/config.h
new file mode 100644
index 0000000000..8757eb70d4
--- /dev/null
+++ b/keyboards/contra/keymaps/deastiny/config.h
@@ -0,0 +1,37 @@
+#pragma once
+
+#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