config.h 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 { SONG(QWERTY_SOUND), \
  6. SONG(COLEMAK_SOUND), \
  7. SONG(DVORAK_SOUND) \
  8. }
  9. #endif
  10. #define MUSIC_MASK (keycode != KC_NO)
  11. /*
  12. * MIDI options
  13. */
  14. /* enable basic MIDI features:
  15. - MIDI notes can be sent when in Music mode is on
  16. */
  17. #define MIDI_BASIC
  18. #define RGBLIGHT_SLEEP
  19. #define TAPPING_TOGGLE 2
  20. #define ALT_F4 LALT(KC_F4)
  21. #define CTALDEL LSFT(LCTL(KC_ESC))
  22. #define NO_DEBUG
  23. #define CTLZ LCTL(KC_Z)
  24. #define CTLX LCTL(KC_X)
  25. #define CTLC LCTL(KC_C)
  26. #define CTLV LCTL(KC_V)
  27. /* enable advanced MIDI features:
  28. - MIDI notes can be added to the keymap
  29. - Octave shift and transpose
  30. - Virtual sustain, portamento, and modulation wheel
  31. - etc.
  32. */
  33. //#define MIDI_ADVANCED
  34. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  35. //#define MIDI_TONE_KEYCODE_OCTAVES 2