config.h 1.2 KB

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