config.h 975 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. #define PERMISSIVE_HOLD
  3. #define IGNORE_MOD_TAP_INTERRUPT
  4. #ifdef AUDIO_ENABLE
  5. #define STARTUP_SONG SONG(ONE_UP_SOUND)
  6. // #define STARTUP_SONG SONG(PLANCK_SOUND)
  7. // #define STARTUP_SONG SONG(NO_SOUND)
  8. #define GOODBYE_SONG SONG(COIN_SOUND)
  9. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND) }
  10. #endif
  11. /*
  12. * MIDI options
  13. */
  14. /* Prevent use of disabled MIDI features in the keymap */
  15. //#define MIDI_ENABLE_STRICT 1
  16. /* enable basic MIDI features:
  17. - MIDI notes can be sent when in Music mode is on
  18. */
  19. #define MIDI_BASIC
  20. /* enable advanced MIDI features:
  21. - MIDI notes can be added to the keymap
  22. - Octave shift and transpose
  23. - Virtual sustain, portamento, and modulation wheel
  24. - etc.
  25. */
  26. //#define MIDI_ADVANCED
  27. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  28. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  29. // Most tactile encoders have detents every 4 stages
  30. #define ENCODER_RESOLUTION 4