config.h 871 B

12345678910111213141516171819202122232425262728293031
  1. #pragma once
  2. #ifdef RGBLIGHT_ENABLE
  3. #define RGBLIGHT_SLEEP
  4. #define RGBLIGHT_ANIMATIONS
  5. #endif // RGBLIGHT_ENABLE
  6. #ifdef AUDIO_CLICKY
  7. #define AUDIO_CLICKY_ON
  8. #define AUDIO_CLICKY_FREQ_DEFAULT 261.63f
  9. #define AUDIO_CLICKY_FREQ_MIN 65.41f
  10. #define AUDIO_CLICKY_FREQ_MAX 1046.5f
  11. //#define AUDIO_CLICKY_FREQ_FACTOR 1.18921f
  12. //#define AUDIO_CLICKY_FREQ_FACTOR 2.71828f // e
  13. #define AUDIO_CLICKY_FREQ_FACTOR 1.61803f // golden ratio
  14. #define AUDIO_CLICKY_FREQ_RANDOMNESS 17.0f
  15. #endif
  16. // Enable features depending on keyboard
  17. #if defined(KEYBOARD_clueboard_66_hotswap_prototype)
  18. #ifndef RGBLIGHT_ENABLE
  19. #define RGBLIGHT_ENABLE
  20. #endif
  21. #ifndef AUDIO_CLICKY
  22. #define AUDIO_CLICKY
  23. #endif
  24. #elif defined(KEYBOARD_clueboard_66_hotswap_gen1)
  25. #ifndef AUDIO_CLICKY
  26. #define AUDIO_CLICKY
  27. #endif
  28. #endif