config.h 1.2 KB

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