config.h 1.1 KB

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