config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #include "config_common.h"
  4. #ifdef AUDIO_ENABLE
  5. #define STARTUP_SONG SONG(PLANCK_SOUND)
  6. // #define STARTUP_SONG SONG(NO_SOUND)
  7. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  8. SONG(COLEMAK_SOUND), \
  9. SONG(DVORAK_SOUND) \
  10. }
  11. #endif
  12. #define MUSIC_MASK (keycode != KC_NO)
  13. /*
  14. * MIDI options
  15. */
  16. /* Prevent use of disabled MIDI features in the keymap */
  17. //#define MIDI_ENABLE_STRICT 1
  18. /* enable basic MIDI features:
  19. - MIDI notes can be sent when in Music mode is on
  20. */
  21. #define MIDI_BASIC
  22. /* enable advanced MIDI features:
  23. - MIDI notes can be added to the keymap
  24. - Octave shift and transpose
  25. - Virtual sustain, portamento, and modulation wheel
  26. - etc.
  27. */
  28. //#define MIDI_ADVANCED
  29. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  30. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  31. #define PERMISSIVE_HOLD
  32. // AutoShift config
  33. #define AUTO_SHIFT_TIMEOUT 135
  34. #define NO_AUTO_SHIFT_SPECIAL
  35. // #define NO_AUTO_SHIFT_NUMERIC
  36. // #define NO_AUTO_SHIFT_ALPHA
  37. // TapDance config
  38. #define TAPPING_TERM 150
  39. #endif