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 \
  6. { SONG(QWERTY_SOUND), SONG(COLEMAK_SOUND), SONG(DVORAK_SOUND) }
  7. #endif
  8. #define MUSIC_MASK (keycode != KC_NO)
  9. /*
  10. * MIDI options
  11. */
  12. /* Prevent use of disabled MIDI features in the keymap */
  13. //#define MIDI_ENABLE_STRICT 1
  14. /* enable basic MIDI features:
  15. - MIDI notes can be sent when in Music mode is on
  16. */
  17. #define MIDI_BASIC
  18. /* enable advanced MIDI features:
  19. - MIDI notes can be added to the keymap
  20. - Octave shift and transpose
  21. - Virtual sustain, portamento, and modulation wheel
  22. - etc.
  23. */
  24. //#define MIDI_ADVANCED
  25. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  26. //#define MIDI_TONE_KEYCODE_OCTAVES 2