]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/planck/keymaps/default/config.h
Adds support for Planck Rev 6 (#2666)
[qmk_firmware.git] / keyboards / planck / keymaps / default / config.h
1 #ifndef CONFIG_USER_H
2 #define CONFIG_USER_H
3
4 #include "config_common.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 /*
17  * MIDI options
18  */
19
20 /* Prevent use of disabled MIDI features in the keymap */
21 //#define MIDI_ENABLE_STRICT 1
22
23 /* enable basic MIDI features:
24    - MIDI notes can be sent when in Music mode is on
25 */
26
27 #define MIDI_BASIC
28
29 /* enable advanced MIDI features:
30    - MIDI notes can be added to the keymap
31    - Octave shift and transpose
32    - Virtual sustain, portamento, and modulation wheel
33    - etc.
34 */
35 //#define MIDI_ADVANCED
36
37 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
38 //#define MIDI_TONE_KEYCODE_OCTAVES 2
39
40 // Most tactile encoders have detents every 4 stages
41 #define ENCODER_RESOLUTION 4
42
43 #endif