config.h 868 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #ifdef AUDIO_ENABLE
  3. #define STARTUP_SONG SONG(PREONIC_SOUND)
  4. // #define STARTUP_SONG SONG(NO_SOUND)
  5. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  6. SONG(COLEMAK_SOUND), \
  7. SONG(DVORAK_SOUND) \
  8. }
  9. #endif
  10. #define MUSIC_MASK (keycode != KC_NO)
  11. /*
  12. * MIDI options
  13. */
  14. /* enable basic MIDI features:
  15. - MIDI notes can be sent when in Music mode is on
  16. */
  17. #define MIDI_BASIC
  18. #define TAP_CODE_DELAY 10
  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