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
1.6 KiB

  1. /*
  2. Copyright 2020 Gondolindrim
  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 MATRIX_COL_PINS { A5 , A10, C13, B9 , B8 , B5 , B4 , B3 , A15, A0 , A1 , A2 }
  16. #define MATRIX_ROW_PINS { A8 , B14, A4 , A3 }
  17. #define DIODE_DIRECTION COL2ROW
  18. #define LOCKING_SUPPORT_ENABLE
  19. #define LOCKING_RESYNC_ENABLE
  20. #define BACKLIGHT_PWM_DRIVER PWMD3
  21. #define BACKLIGHT_PWM_CHANNEL 1
  22. #define BACKLIGHT_PAL_MODE 2
  23. #define RGB_DI_PIN B15
  24. #define RGBLED_NUM 24
  25. #define RGBLIGHT_EFFECT_BREATHING
  26. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  27. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  28. #define RGBLIGHT_EFFECT_SNAKE
  29. #define RGBLIGHT_EFFECT_KNIGHT
  30. #define RGBLIGHT_EFFECT_CHRISTMAS
  31. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  32. #define RGBLIGHT_EFFECT_RGB_TEST
  33. #define RGBLIGHT_EFFECT_ALTERNATING
  34. #define RGBLIGHT_EFFECT_TWINKLE
  35. #define WS2812_PWM_COMPLEMENTARY_OUTPUT
  36. #define WS2812_PWM_DRIVER PWMD1
  37. #define WS2812_PWM_CHANNEL 3
  38. #define WS2812_PWM_PAL_MODE 1
  39. #define WS2812_DMA_STREAM STM32_DMA2_STREAM5
  40. #define WS2812_DMA_CHANNEL 6
  41. #define ENCODERS_PAD_A { C15 }
  42. #define ENCODERS_PAD_B { C14 }
  43. #define EEPROM_I2C_24LC256