config.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #include "config_common.h"
  4. #ifdef AUDIO_ENABLE
  5. #define STARTUP_SONG SONG(PLANCK_SOUND)
  6. // #define STARTUP_SONG SONG(NO_SOUND)
  7. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  8. SONG(COLEMAK_SOUND), \
  9. SONG(DVORAK_SOUND) \
  10. }
  11. #endif
  12. //#define LEADER_TIMEOUT 300
  13. //#define BACKLIGHT_BREATHING
  14. //#define PERMISSIVE_HOLD
  15. //audio clicky
  16. //#define AUDIO_CLICKY
  17. // to enable clicky on startup
  18. //#define AUDIO_CLICKY_ON
  19. //#define AUDIO_CLICKY_FREQ_RANDOMNESS 1.0f
  20. /* ws2812 RGB LED
  21. #define RGB_DI_PIN B5
  22. #define RGBLED_NUM 8 // Number of LEDs
  23. #define RGBLIGHT_HUE_STEP 10
  24. #define RGBLIGHT_SAT_STEP 17
  25. */
  26. #undef PLANCK_MIT_LAYOUT
  27. //#define MUON_LEFT
  28. #undef DEBOUNCE
  29. #define DEBOUNCE 0
  30. //rgb-reactive
  31. //#define RGB_MATRIX_KEYPRESSES
  32. //#define EECONFIG_RGB_MATRIX (uint32_t *)16
  33. //skip usb startup check
  34. //#define NO_USB_STARTUP_CHECK
  35. /*
  36. * MIDI options
  37. */
  38. /* enable basic MIDI features:
  39. - MIDI notes can be sent when in Music mode is on
  40. */
  41. #define MIDI_BASIC
  42. /* enable advanced MIDI features:
  43. - MIDI notes can be added to the keymap
  44. - Octave shift and transpose
  45. - Virtual sustain, portamento, and modulation wheel
  46. - etc.
  47. */
  48. //#define MIDI_ADVANCED
  49. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  50. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  51. // Most tactile encoders have detents every 4 stages
  52. #define ENCODER_RESOLUTION 4
  53. #endif