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