config.h 799 B

12345678910111213141516171819202122232425262728293031323334353637
  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_ANIMATIONS
  24. #define RGBLED_NUM 0
  25. #define RGBLIGHT_HUE_STEP 8
  26. #define RGBLIGHT_SAT_STEP 8
  27. #define RGBLIGHT_VAL_STEP 8
  28. #endif