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.

55 lines
2.1 KiB

  1. /* Copyright 2021 DZTECH <moyi4681@Live.cn>
  2. *
  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. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. #define USB_SUSPEND_WAKEUP_DELAY 5000
  18. #ifdef RGB_MATRIX_ENABLE
  19. #define RGB_MATRIX_KEYPRESSES
  20. #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
  21. #define ENABLE_RGB_MATRIX_ALPHAS_MODS
  22. #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
  23. #define ENABLE_RGB_MATRIX_BREATHING
  24. #define ENABLE_RGB_MATRIX_BAND_VAL
  25. #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
  26. #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
  27. #define ENABLE_RGB_MATRIX_CYCLE_ALL
  28. #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
  29. #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
  30. #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
  31. #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
  32. #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
  33. #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
  34. #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
  35. #define ENABLE_RGB_MATRIX_DUAL_BEACON
  36. #define ENABLE_RGB_MATRIX_RAINBOW_BEACON
  37. #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
  38. #define ENABLE_RGB_MATRIX_RAINDROPS
  39. #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
  40. #define ENABLE_RGB_MATRIX_HUE_BREATHING
  41. #define ENABLE_RGB_MATRIX_HUE_PENDULUM
  42. #define ENABLE_RGB_MATRIX_HUE_WAVE
  43. #define ENABLE_RGB_MATRIX_PIXEL_RAIN
  44. #define ENABLE_RGB_MATRIX_PIXEL_FLOW
  45. #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
  46. #define ENABLE_RGB_MATRIX_TYPING_HEATMAP
  47. #define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL
  48. #define DRIVER_ADDR_1 IS31FL3733_I2C_ADDRESS_GND_GND
  49. #define IS31FL3733_DRIVER_COUNT 1
  50. #define RGB_MATRIX_LED_COUNT 64
  51. #endif
  52. #define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2