aboutsummaryrefslogtreecommitdiff
path: root/keyboards/contra/keymaps/default/config.h
diff options
context:
space:
mode:
authorAkshay <[email protected]>2022-04-10 12:13:40 +0100
committerAkshay <[email protected]>2022-04-10 12:13:40 +0100
commitdc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch)
tree4ccb8fa5886b66fa9d480edef74236c27f035e16 /keyboards/contra/keymaps/default/config.h
Diffstat (limited to 'keyboards/contra/keymaps/default/config.h')
-rw-r--r--keyboards/contra/keymaps/default/config.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/keyboards/contra/keymaps/default/config.h b/keyboards/contra/keymaps/default/config.h
new file mode 100644
index 000000000..6114392f6
--- /dev/null
+++ b/keyboards/contra/keymaps/default/config.h
@@ -0,0 +1,35 @@
1#pragma once
2
3
4#ifdef AUDIO_ENABLE
5 #define STARTUP_SONG SONG(PLANCK_SOUND)
6 // #define STARTUP_SONG SONG(NO_SOUND)
7
8 #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
9 SONG(COLEMAK_SOUND), \
10 SONG(DVORAK_SOUND) \
11 }
12#endif
13
14#define MUSIC_MASK (keycode != KC_NO)
15
16/*
17 * MIDI options
18 */
19
20/* enable basic MIDI features:
21 - MIDI notes can be sent when in Music mode is on
22*/
23
24#define MIDI_BASIC
25
26/* enable advanced MIDI features:
27 - MIDI notes can be added to the keymap
28 - Octave shift and transpose
29 - Virtual sustain, portamento, and modulation wheel
30 - etc.
31*/
32//#define MIDI_ADVANCED
33
34/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
35//#define MIDI_TONE_KEYCODE_OCTAVES 2