config.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /* Copyright 2020 Pete Curt
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. #define TAPPING_TOGGLE 2
  18. #define LEADER_PER_KEY_TIMING
  19. #define LEADER_TIMEOUT 350
  20. #define RGBLIGHT_LAYERS
  21. #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
  22. #define RGBLIGHT_SLEEP
  23. // so rgb sleeps when the system goes to sleep
  24. #ifdef AUDIO_ENABLE
  25. #define STARTUP_SONG SONG(CAMPANELLA)
  26. // #define STARTUP_SONG SONG(FANTASIE_IMPROMPTU)
  27. // #define STARTUP_SONG SONG(PREONIC_SOUND)
  28. // #define STARTUP_SONG SONG(NO_SOUND)
  29. // DEFAULT_LAYER_SONGS are used in set_single_persistent_default_layer in quantum/quantum.c
  30. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  31. SONG(COLEMAK_SOUND), \
  32. SONG(DVORAK_SOUND) \
  33. }
  34. #endif
  35. #define MUSIC_MASK (keycode != KC_NO)
  36. /*
  37. * MIDI options
  38. */
  39. /* enable basic MIDI features:
  40. - MIDI notes can be sent when in Music mode is on
  41. */
  42. #define MIDI_BASIC
  43. /* enable advanced MIDI features:
  44. - MIDI notes can be added to the keymap
  45. - Octave shift and transpose
  46. - Virtual sustain, portamento, and modulation wheel
  47. - etc.
  48. */
  49. //#define MIDI_ADVANCED
  50. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  51. //#define MIDI_TONE_KEYCODE_OCTAVES 2