config.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) 2020 Max Drasbeck
  3. *
  4. * You are free to:
  5. *
  6. * Share — copy and redistribute the material in any medium or format
  7. * Adapt — remix, transform, and build upon the material
  8. * for any purpose, even commercially.
  9. *
  10. * The licensor cannot revoke these freedoms as long as you follow the license terms.
  11. */
  12. #pragma once
  13. #ifdef AUDIO_ENABLE
  14. #define STARTUP_SONG SONG(PREONIC_SOUND)
  15. // #define STARTUP_SONG SONG(NO_SOUND)
  16. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_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. /* enable basic MIDI features:
  26. - MIDI notes can be sent when in Music mode is on
  27. */
  28. #define MIDI_BASIC
  29. /* enable advanced MIDI features:
  30. - MIDI notes can be added to the keymap
  31. - Octave shift and transpose
  32. - Virtual sustain, portamento, and modulation wheel
  33. - etc.
  34. */
  35. //#define MIDI_ADVANCED
  36. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  37. //#define MIDI_TONE_KEYCODE_OCTAVES 2