config.h 845 B

123456789101112131415161718192021222324252627282930313233343536
  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_ANIMATIONS
  24. #define RGBLED_NUM 8 // Number of LEDs
  25. // #define RGBLIGHT_HUE_STEP 10
  26. // #define RGBLIGHT_SAT_STEP 17
  27. // #define RGBLIGHT_VAL_STEP 17