config.h 994 B

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