config.h 867 B

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