config.h 896 B

1234567891011121314151617181920212223242526272829303132333435363738
  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 DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  7. SONG(COLEMAK_SOUND), \
  8. SONG(DVORAK_SOUND) \
  9. }
  10. #endif
  11. #define MUSIC_MASK (keycode != KC_NO)
  12. /*
  13. * MIDI options
  14. */
  15. /* enable basic MIDI features:
  16. - MIDI notes can be sent when in Music mode is on
  17. */
  18. #define MIDI_BASIC
  19. /* enable advanced MIDI features:
  20. - MIDI notes can be added to the keymap
  21. - Octave shift and transpose
  22. - Virtual sustain, portamento, and modulation wheel
  23. - etc.
  24. */
  25. //#define MIDI_ADVANCED
  26. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  27. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  28. #endif