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.

67 lines
2.6 KiB

  1. /*
  2. Copyright 2021 yushakobo
  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 RGBLED_NUM 18
  16. #ifdef RGB_MATRIX_ENABLE
  17. # define RGB_MATRIX_LED_COUNT RGBLED_NUM
  18. # define RGB_MATRIX_KEYPRESSES // reacts to keypresses
  19. // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
  20. # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
  21. # define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  22. // # define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
  23. // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
  24. # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
  25. // HSV_TEAL
  26. // #define RGB_MATRIX_DEFAULT_HUE 128
  27. // #define RGB_MATRIX_DEFAULT_SAT 255
  28. #define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
  29. # define RGB_MATRIX_HUE_STEP 8
  30. # define RGB_MATRIX_SAT_STEP 8
  31. # define RGB_MATRIX_VAL_STEP 8
  32. # define RGB_MATRIX_SPD_STEP 10
  33. #endif
  34. #ifdef RGBLIGHT_ENABLE
  35. # define RGBLIGHT_HUE_STEP 8
  36. # define RGBLIGHT_SAT_STEP 8
  37. # define RGBLIGHT_VAL_STEP 8
  38. //# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  39. //# define RGBLIGHT_EFFECT_BREATHING
  40. # define RGBLIGHT_EFFECT_RAINBOW_MOOD
  41. # define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  42. //# define RGBLIGHT_EFFECT_SNAKE
  43. //# define RGBLIGHT_EFFECT_KNIGHT
  44. # define RGBLIGHT_EFFECT_CHRISTMAS
  45. # define RGBLIGHT_EFFECT_STATIC_GRADIENT
  46. # define RGBLIGHT_EFFECT_RGB_TEST
  47. //# define RGBLIGHT_EFFECT_ALTERNATING
  48. #define RGBLIGHT_LAYERS
  49. #define RGBLIGHT_MAX_LAYERS 8
  50. #endif
  51. /* disable action features */
  52. //#define NO_ACTION_LAYER
  53. //#define NO_ACTION_TAPPING
  54. //#define NO_ACTION_ONESHOT