config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #pragma once
  2. #include "config_common.h"
  3. /* key matrix size */
  4. #define MATRIX_ROWS 5
  5. #define MATRIX_COLS 14
  6. /* key matrix pins */
  7. #define MATRIX_ROW_PINS \
  8. { E6, B0, F1, F5, F4 }
  9. #define MATRIX_COL_PINS \
  10. { F6, F7, B3, C7, C6, B6, B5, D5, B4, D7, D6, D4, D1, D0 }
  11. /* COL2ROW or ROW2COL */
  12. #define DIODE_DIRECTION COL2ROW
  13. /* number of backlight levels */
  14. #define BACKLIGHT_PIN B7
  15. #ifdef BACKLIGHT_PIN
  16. # define BACKLIGHT_LEVELS 8
  17. #endif
  18. /* Set 0 if debouncing isn't needed */
  19. #define DEBOUNCE 5
  20. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  21. #define LOCKING_SUPPORT_ENABLE
  22. /* Locking resynchronize hack */
  23. #define LOCKING_RESYNC_ENABLE
  24. #define RGB_DI_PIN B1
  25. #define RGBLIGHT_EFFECT_BREATHING
  26. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  27. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  28. #define RGBLIGHT_EFFECT_SNAKE
  29. #define RGBLIGHT_EFFECT_KNIGHT
  30. #define RGBLIGHT_EFFECT_CHRISTMAS
  31. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  32. #define RGBLIGHT_EFFECT_RGB_TEST
  33. #define RGBLIGHT_EFFECT_ALTERNATING
  34. #define RGBLIGHT_EFFECT_TWINKLE
  35. #define RGBLED_NUM 36
  36. #define RGBLIGHT_HUE_STEP 8
  37. #define RGBLIGHT_SAT_STEP 8
  38. #define RGBLIGHT_VAL_STEP 8
  39. #define KEYBOARD_LOCK_ENABLE
  40. #define MAGIC_KEY_LOCK L