config.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. This program is free software: you can redistribute it and/or modify
  3. it under the terms of the GNU General Public License as published by
  4. the Free Software Foundation, either version 2 of the License, or
  5. (at your option) any later version.
  6. This program is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. GNU General Public License for more details.
  10. You should have received a copy of the GNU General Public License
  11. along with this program. If not, see <http://www.gnu.org/licenses/>.
  12. */
  13. #pragma once
  14. /* wiring of each half */
  15. #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
  16. #define MATRIX_COL_PINS { B2, B6, F6, B3, B1, F7 }
  17. #define EE_HANDS
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION COL2ROW
  20. /* ws2812 RGB LED */
  21. #define RGB_DI_PIN D4
  22. #if !defined(RGBLED_NUM)
  23. # define RGBLED_NUM 30
  24. # define RGBLIGHT_SPLIT
  25. # define RGBLED_SPLIT { 16, 14 }
  26. // Switch RGB sides with LED MAP.
  27. # define RGBLIGHT_LED_MAP { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30}
  28. # define RGBLIGHT_LAYERS
  29. #endif
  30. #define RGBLIGHT_EFFECT_BREATHING
  31. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  32. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  33. #define RGBLIGHT_EFFECT_SNAKE
  34. #define RGBLIGHT_EFFECT_KNIGHT
  35. #define RGBLIGHT_EFFECT_CHRISTMAS
  36. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  37. #define RGBLIGHT_EFFECT_RGB_TEST
  38. #define RGBLIGHT_EFFECT_ALTERNATING
  39. #define RGBLIGHT_EFFECT_TWINKLE
  40. #define RGBLIGHT_SLEEP
  41. #define RGBLIGHT_HUE_STEP 16
  42. #define RGBLIGHT_SAT_STEP 8
  43. #define RGBLIGHT_VAL_STEP 8