config.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #pragma once
  2. #include "config_common.h"
  3. /* COL2ROW or ROW2COL */
  4. #define DIODE_DIRECTION COL2ROW
  5. /* Set 0 if debouncing isn't needed */
  6. #define DEBOUNCE 5
  7. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  8. #define LOCKING_SUPPORT_ENABLE
  9. /* Locking resynchronize hack */
  10. #define LOCKING_RESYNC_ENABLE
  11. /* key matrix size */
  12. #define MATRIX_ROWS 2
  13. #define MATRIX_COLS 4
  14. /* key matrix pins */
  15. #define DIRECT_PINS { { F4, F5, F6, F7 }, { B1, B3, B2, B6 } }
  16. #define BACKLIGHT_LED_COUNT 8
  17. #undef BACKLIGHT_PIN
  18. #define BACKLIGHT_PINS { D1, D0, D4, C6, D7, E6, B4, B5 }
  19. #define BACKLIGHT_LEVELS 8
  20. // ws2812 options
  21. #define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
  22. #define RGBLED_NUM 8 // number of LEDs
  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