config.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Copyright 2022 Cable Car Designs (@westfoxtrot)
  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 10
  7. #define MATRIX_COLS 10
  8. #define MATRIX_ROW_PINS { B0, F1, F5, F6, F7, D1, F4, D4, C6, C7 }
  9. #define MATRIX_COL_PINS { D6, D7, B4, B5, B6, B7, B3, B2, B1, F0 }
  10. #define UNUSED_PINS
  11. /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
  12. #define DIODE_DIRECTION COL2ROW
  13. #define BACKLIGHT_BREATHING
  14. #define BACKLIGHT_LEVELS 5
  15. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  16. #define DEBOUNCE 5
  17. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  18. #define LOCKING_SUPPORT_ENABLE
  19. /* Locking resynchronize hack */
  20. #define LOCKING_RESYNC_ENABLE
  21. #define BACKLIGHT_PIN D0
  22. #define RGB_DI_PIN D5
  23. #ifdef RGB_DI_PIN
  24. #define RGBLED_NUM 3
  25. #define RGBLIGHT_HUE_STEP 12
  26. #define RGBLIGHT_SAT_STEP 25
  27. #define RGBLIGHT_VAL_STEP 12
  28. #define RGBLIGHT_LIMIT_VAL 255
  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