config.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #pragma once
  2. #include "config_common.h"
  3. /* key matrix size */
  4. #define MATRIX_ROWS 5
  5. #define MATRIX_COLS 6
  6. /* key matrix pins */
  7. #define MATRIX_ROW_PINS { F7, B1, B3, B2, B6 }
  8. #define MATRIX_COL_PINS { B4, E6, D7, C6, D4, D0 }
  9. /* COL2ROW or ROW2COL */
  10. #define DIODE_DIRECTION COL2ROW
  11. /* number of backlight levels */
  12. #define BACKLIGHT_PIN B5
  13. #ifdef BACKLIGHT_PIN
  14. #define BACKLIGHT_LEVELS 3
  15. #endif
  16. /* Set 0 if debouncing isn't needed */
  17. #define DEBOUNCE 5
  18. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  19. #define LOCKING_SUPPORT_ENABLE
  20. /* Locking resynchronize hack */
  21. #define LOCKING_RESYNC_ENABLE
  22. #ifdef RGB_DI_PIN
  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 0
  34. #define RGBLIGHT_HUE_STEP 8
  35. #define RGBLIGHT_SAT_STEP 8
  36. #define RGBLIGHT_VAL_STEP 8
  37. #endif