config.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /* Copyright 2020 B. Fletcher (toraifu) <typefast@kyaa.gg>
  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. /* key matrix pins
  18. */
  19. #define MATRIX_ROW_PINS { B1, B2, B3, C6, C7 }
  20. #define MATRIX_COL_PINS { E6, F0, F1, F4, F5, F6, F7, B6, B5, B4, D7, D6, D4, D5, D3 }
  21. /* COL2ROW or ROW2COL
  22. */
  23. #define DIODE_DIRECTION COL2ROW
  24. /* IS31FL3731 driver address (for status LEDs)
  25. * Using the default defines here, but using a custom implementation
  26. */
  27. #define LED_DRIVER_ADDR_1 0b1110100
  28. #define LED_DRIVER_COUNT 1
  29. #define LED_MATRIX_LED_COUNT 3
  30. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap
  31. */
  32. #define LOCKING_SUPPORT_ENABLE
  33. /* Locking resynchronize hack
  34. */
  35. #define LOCKING_RESYNC_ENABLE
  36. #define RGB_DI_PIN D2
  37. #define RGBLIGHT_EFFECT_BREATHING
  38. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  39. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  40. #define RGBLIGHT_EFFECT_SNAKE
  41. #define RGBLIGHT_EFFECT_KNIGHT
  42. #define RGBLIGHT_EFFECT_CHRISTMAS
  43. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  44. #define RGBLIGHT_EFFECT_RGB_TEST
  45. #define RGBLIGHT_EFFECT_ALTERNATING
  46. #define RGBLIGHT_EFFECT_TWINKLE
  47. #define RGBLED_NUM 14