config.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* Copyright 2021 UTDKeyboard & Dominic Gan
  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. // ROWS: Top to bottom, COLS: Left to right
  18. #define MATRIX_ROW_PINS { B4, D5, D0, B2, B3, B0 }
  19. #define MATRIX_COL_PINS { B1, F0, F1, F4, F5, F6, F7, C7, C6, D3, E6, D7, D6, D4, D2, D1 }
  20. /* COL2ROW or ROW2COL */
  21. #define DIODE_DIRECTION COL2ROW
  22. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  23. #define LOCKING_SUPPORT_ENABLE
  24. /* Locking resynchronize hack */
  25. #define LOCKING_RESYNC_ENABLE
  26. #define RGB_DI_PIN E2
  27. #ifdef RGB_DI_PIN
  28. #define RGBLIGHT_EFFECT_BREATHING
  29. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  30. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  31. #define RGBLIGHT_EFFECT_SNAKE
  32. #define RGBLIGHT_EFFECT_KNIGHT
  33. #define RGBLIGHT_EFFECT_CHRISTMAS
  34. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  35. #define RGBLIGHT_EFFECT_RGB_TEST
  36. #define RGBLIGHT_EFFECT_ALTERNATING
  37. #define RGBLIGHT_EFFECT_TWINKLE
  38. #define RGBLED_NUM 4
  39. #define RGBLIGHT_HUE_STEP 8
  40. #define RGBLIGHT_SAT_STEP 8
  41. #define RGBLIGHT_VAL_STEP 8
  42. #endif