You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.6 KiB

  1. /*
  2. Copyright 2019 Josh Johnson
  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. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #pragma once
  15. #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  16. // /*== customize breathing effect ==*/
  17. // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
  18. // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
  19. // /*==== use exp() and sin() ====*/
  20. // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
  21. // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
  22. // #endif
  23. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  24. #define DEBOUNCE 20
  25. // Time out one shot layers after 3 seconds
  26. #define ONESHOT_TIMEOUT 3000
  27. // Undef and redefine default brightness to half of 255
  28. #undef RGBLIGHT_LIMIT_VAL
  29. #define RGBLIGHT_LIMIT_VAL 255
  30. //Define a preview timeout for RGB reviews
  31. #define PREVIEW_TIMEOUT 5000
  32. // Enable Light Layers implementation
  33. #define RGBLIGHT_LAYERS
  34. // Allow Light Layers to override RGB off configuration
  35. #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF