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