config.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #pragma
  2. #ifdef AUDIO_ENABLE
  3. #define STARTUP_SONG SONG(SONIC_RING)
  4. // #define STARTUP_SONG SONG(NO_SOUND)
  5. #define MUSIC_ON_SONG SONG(ZELDA_PUZZLE)
  6. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  7. SONG(COLEMAK_SOUND), \
  8. SONG(DVORAK_SOUND) \
  9. }
  10. #endif
  11. #define TAPPING_TERM 200
  12. /*
  13. * MIDI options
  14. */
  15. /* Prevent use of disabled MIDI features in the keymap */
  16. //#define MIDI_ENABLE_STRICT 1
  17. /* enable basic MIDI features:
  18. - MIDI notes can be sent when in Music mode is on
  19. */
  20. #define MIDI_BASIC
  21. /* enable advanced MIDI features:
  22. - MIDI notes can be added to the keymap
  23. - Octave shift and transpose
  24. - Virtual sustain, portamento, and modulation wheel
  25. - etc.
  26. */
  27. //#define MIDI_ADVANCED
  28. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  29. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  30. // Most tactile encoders have detents every 4 stages
  31. #define ENCODER_RESOLUTION 4