config.h 1.1 KB

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