config.h 908 B

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