config.h 1.1 KB

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