config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #pragma once
  2. #include "config_common.h"
  3. #ifdef AUDIO_ENABLE
  4. #define STARTUP_SONG SONG(PREONIC_SOUND)
  5. // #define STARTUP_SONG SONG(NO_SOUND)
  6. #define DEFAULT_LAYER_SONGS { SONG(COLEMAK_SOUND), \
  7. SONG(QWERTY_SOUND), \
  8. SONG(AUDIO_ON_SOUND), \
  9. SONG(TERMINAL_SOUND), \
  10. SONG(NO_SOUND), \
  11. SONG(MUSIC_ON_SOUND) \
  12. }
  13. #endif
  14. #define MUSIC_MASK (keycode != MU_TOG)
  15. /*
  16. * MIDI options
  17. */
  18. /* Prevent use of disabled MIDI features in the keymap */
  19. //#define MIDI_ENABLE_STRICT 1
  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
  34. #ifndef TAPPING_TERM
  35. #define TAPPING_TERM 200