config.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #pragma once
  2. #include "config_common.h"
  3. /* key matrix size */
  4. #define MATRIX_ROWS 5
  5. #define MATRIX_COLS 15
  6. /* key matrix pins */
  7. #define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
  8. #define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4 }
  9. /* COL2ROW or ROW2COL */
  10. #define DIODE_DIRECTION COL2ROW
  11. /* number of backlight levels */
  12. #define BACKLIGHT_PIN B6
  13. #ifdef BACKLIGHT_PIN
  14. #define BACKLIGHT_LEVELS 5
  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. #define RGB_DI_PIN E2
  23. #ifdef RGB_DI_PIN
  24. #define RGBLIGHT_EFFECT_BREATHING
  25. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  26. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  27. #define RGBLIGHT_EFFECT_SNAKE
  28. #define RGBLIGHT_EFFECT_KNIGHT
  29. #define RGBLIGHT_EFFECT_CHRISTMAS
  30. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  31. #define RGBLIGHT_EFFECT_RGB_TEST
  32. #define RGBLIGHT_EFFECT_ALTERNATING
  33. #define RGBLIGHT_EFFECT_TWINKLE
  34. #define RGBLED_NUM 16
  35. #define RGBLIGHT_HUE_STEP 8
  36. #define RGBLIGHT_SAT_STEP 8
  37. #define RGBLIGHT_VAL_STEP 8
  38. #endif