config.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #pragma once
  2. #include "config_common.h"
  3. /* key matrix size */
  4. #define MATRIX_ROWS 8
  5. #define MATRIX_COLS 8
  6. /* key matrix pins */
  7. #define MATRIX_ROW_PINS { D3, D2, D1, D0, D4, C6, D7, E6 }
  8. #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 }
  9. #define DIODE_DIRECTION COL2ROW
  10. /* number of backlight levels */
  11. #define BACKLIGHT_PIN B5
  12. #ifdef BACKLIGHT_PIN
  13. #define BACKLIGHT_LEVELS 4
  14. #endif
  15. /* Set 0 if debouncing isn't 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. /* ws2812 RGB LED */
  22. #define RGB_DI_PIN B4
  23. # define RGBLIGHT_EFFECT_BREATHING
  24. # define RGBLIGHT_EFFECT_RAINBOW_MOOD
  25. # define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  26. # define RGBLIGHT_EFFECT_SNAKE
  27. # define RGBLIGHT_EFFECT_KNIGHT
  28. # define RGBLIGHT_EFFECT_CHRISTMAS
  29. # define RGBLIGHT_EFFECT_STATIC_GRADIENT
  30. # define RGBLIGHT_EFFECT_RGB_TEST
  31. # define RGBLIGHT_EFFECT_ALTERNATING
  32. # define RGBLIGHT_EFFECT_TWINKLE
  33. #define RGBLED_NUM 8 // Number of LEDs
  34. // #define RGBLIGHT_HUE_STEP 10
  35. // #define RGBLIGHT_SAT_STEP 17
  36. // #define RGBLIGHT_VAL_STEP 17