config.h 1003 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. /* enable basic MIDI features:
  20. - MIDI notes can be sent when in Music mode is on
  21. */
  22. #define MIDI_BASIC
  23. /* enable advanced MIDI features:
  24. - MIDI notes can be added to the keymap
  25. - Octave shift and transpose
  26. - Virtual sustain, portamento, and modulation wheel
  27. - etc.
  28. */
  29. //#define MIDI_ADVANCED
  30. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  31. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  32. #endif