You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
938 B

  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #include "../../config.h"
  4. #ifdef AUDIO_ENABLE
  5. #define STARTUP_SONG SONG(PLANCK_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