config.h 917 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. /* Prevent use of disabled MIDI features in the keymap */
  13. //#define MIDI_ENABLE_STRICT 1
  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