config.h 733 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #define DYNAMIC_KEYMAP_LAYER_COUNT 4
  3. #ifdef AUDIO_ENABLE
  4. #define STARTUP_SONG SONG(PREONIC_SOUND)
  5. // #define STARTUP_SONG SONG(NO_SOUND)
  6. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND) }
  7. #endif
  8. #define MUSIC_MASK (keycode != KC_NO)
  9. /*
  10. * MIDI options
  11. */
  12. /* enable basic MIDI features:
  13. - MIDI notes can be sent when in Music mode is on
  14. */
  15. #define MIDI_BASIC
  16. /* enable advanced MIDI features:
  17. - MIDI notes can be added to the keymap
  18. - Octave shift and transpose
  19. - Virtual sustain, portamento, and modulation wheel
  20. - etc.
  21. */
  22. //#define MIDI_ADVANCED
  23. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  24. //#define MIDI_TONE_KEYCODE_OCTAVES 2