config.h 1.1 KB

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