config.h 827 B

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