config.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #include "config_common.h"
  4. #define NO_AUTO_SHIFT_SPECIAL
  5. #define NO_AUTO_SHIFT_ALPHA
  6. #ifdef AUDIO_ENABLE
  7. #define STARTUP_SONG SONG(PREONIC_SOUND)
  8. // #define STARTUP_SONG SONG(NO_SOUND)
  9. #define GAME_SOUND VICTORY_FANFARE_SHORT
  10. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  11. SONG(GAME_SOUND) \
  12. }
  13. #endif
  14. #define MUSIC_MASK (keycode != KC_NO)
  15. /*
  16. * MIDI options
  17. */
  18. /* Prevent use of disabled MIDI features in the keymap */
  19. //#define MIDI_ENABLE_STRICT 1
  20. /* enable basic MIDI features:
  21. - MIDI notes can be sent when in Music mode is on
  22. */
  23. #define MIDI_BASIC
  24. /* enable advanced MIDI features:
  25. - MIDI notes can be added to the keymap
  26. - Octave shift and transpose
  27. - Virtual sustain, portamento, and modulation wheel
  28. - etc.
  29. */
  30. //#define MIDI_ADVANCED
  31. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  32. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  33. #endif