config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // Copyright 2022 Charue Design
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include "config_common.h"
  5. /* Key matrix size */
  6. #define MATRIX_ROWS 5
  7. #define MATRIX_COLS 17
  8. /* Keyboard Matrix Assignment s*/
  9. #define MATRIX_ROW_PINS { B3, B2, F4, F5, F6 }
  10. #define MATRIX_COL_PINS { F0, F1, F7, B1, D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7 }
  11. #define UNUSED_PINS { B7 }
  12. /* COL2ROW, ROW2COL */
  13. #define DIODE_DIRECTION COL2ROW
  14. #define LED_CAPS_LOCK_PIN B0
  15. /* RGB */
  16. #define RGB_DI_PIN E6
  17. #ifdef RGB_DI_PIN
  18. # define RGBLED_NUM 10
  19. #define RGBLIGHT_EFFECT_BREATHING
  20. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  21. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  22. #define RGBLIGHT_EFFECT_SNAKE
  23. #define RGBLIGHT_EFFECT_KNIGHT
  24. #define RGBLIGHT_EFFECT_CHRISTMAS
  25. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  26. #define RGBLIGHT_EFFECT_RGB_TEST
  27. #define RGBLIGHT_EFFECT_ALTERNATING
  28. #define RGBLIGHT_EFFECT_TWINKLE
  29. #endif
  30. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  31. #define DEBOUNCE 5
  32. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  33. #define LOCKING_SUPPORT_ENABLE
  34. /* Locking resynchronize hack */
  35. #define LOCKING_RESYNC_ENABLE