config.h 1.5 KB

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