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