]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/preonic/keymaps/default/config.h
003fd259c5907acc0dcebc10782852d7efa632d3
[qmk_firmware.git] / keyboards / preonic / keymaps / default / config.h
1 #ifndef CONFIG_USER_H
2 #define CONFIG_USER_H
3
4 #include "../../config.h"
5
6 #ifdef AUDIO_ENABLE
7     #define STARTUP_SONG SONG(PLANCK_SOUND)
8     // #define STARTUP_SONG SONG(NO_SOUND)
9
10     #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
11                                   SONG(COLEMAK_SOUND), \
12                                   SONG(DVORAK_SOUND) \
13                                 }
14 #endif
15
16 #define MUSIC_MASK (keycode != KC_NO)
17
18 /*
19  * MIDI options
20  */
21
22 /* Prevent use of disabled MIDI features in the keymap */
23 //#define MIDI_ENABLE_STRICT 1
24
25 /* enable basic MIDI features:
26    - MIDI notes can be sent when in Music mode is on
27 */
28
29 #define MIDI_BASIC
30
31 /* enable advanced MIDI features:
32    - MIDI notes can be added to the keymap
33    - Octave shift and transpose
34    - Virtual sustain, portamento, and modulation wheel
35    - etc.
36 */
37 //#define MIDI_ADVANCED
38
39 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
40 //#define MIDI_TONE_KEYCODE_OCTAVES 2
41
42 #endif