1
0

config.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #ifdef AUDIO_ENABLE
  4. #define STARTUP_SONG SONG(PLANCK_SOUND)
  5. // #define STARTUP_SONG SONG(NO_SOUND)
  6. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  7. SONG(COLEMAK_SOUND), \
  8. SONG(DVORAK_SOUND) \
  9. }
  10. #endif
  11. #define MUSIC_MASK (keycode != KC_NO)
  12. /*
  13. * MIDI options
  14. */
  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. #define PERMISSIVE_HOLD
  29. // AutoShift config
  30. #define AUTO_SHIFT_TIMEOUT 135
  31. #define NO_AUTO_SHIFT_SPECIAL
  32. // #define NO_AUTO_SHIFT_NUMERIC
  33. // #define NO_AUTO_SHIFT_ALPHA
  34. // TapDance config
  35. #define TAPPING_TERM 150
  36. #endif