config.h 1.1 KB

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