config.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /* Copyright 2020 null-ll
  2. * Copyright 2021 Jels, Josh Johnson
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. #include "config_common.h"
  19. /* key matrix size */
  20. #define MATRIX_ROWS 10
  21. #define MATRIX_COLS 7
  22. #define MATRIX_ROW_PINS {F4, D1, D0, F5, D4, F6, B4, B5, B2, B6}
  23. #define MATRIX_COL_PINS {F7, C6, B1, D2, E6, B3, D7}
  24. /* COL2ROW, ROW2COL*/
  25. #define DIODE_DIRECTION COL2ROW
  26. #define RGB_DI_PIN D3
  27. #ifdef RGBLIGHT_ENABLE
  28. #define RGBLED_NUM 14
  29. #define RGBLIGHT_SLEEP
  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. #endif
  41. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  42. #define DEBOUNCE 5
  43. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  44. #define LOCKING_SUPPORT_ENABLE
  45. /* Locking resynchronize hack */
  46. #define LOCKING_RESYNC_ENABLE
  47. /* Bootmagic Lite key configuration */
  48. #define BOOTMAGIC_LITE_ROW 0
  49. #define BOOTMAGIC_LITE_COLUMN 0