config.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xCB10
  5. #define PRODUCT_ID 0x113a
  6. #define DEVICE_VER 0x0100
  7. #define MANUFACTURER Keebio
  8. #define PRODUCT Dilly
  9. /* key matrix size */
  10. #define MATRIX_ROWS 6
  11. #define MATRIX_COLS 5
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { D7, E6, B4, B1, B3, B2 }
  14. #define MATRIX_COL_PINS { D2, D4, C6, F6, F5 }
  15. #define UNUSED_PINS
  16. /* COL2ROW or ROW2COL */
  17. #define DIODE_DIRECTION COL2ROW
  18. /* number of backlight levels */
  19. #define BACKLIGHT_PIN B5
  20. #ifdef BACKLIGHT_PIN
  21. #define BACKLIGHT_LEVELS 3
  22. #endif
  23. /* Set 0 if debouncing isn't needed */
  24. #define DEBOUNCE 5
  25. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  26. #define LOCKING_SUPPORT_ENABLE
  27. /* Locking resynchronize hack */
  28. #define LOCKING_RESYNC_ENABLE
  29. #ifdef RGB_DI_PIN
  30. #define RGBLIGHT_ANIMATIONS
  31. #define RGBLIGHT_HUE_STEP 8
  32. #define RGBLIGHT_SAT_STEP 8
  33. #define RGBLIGHT_VAL_STEP 8
  34. #endif
  35. #define RGB_DI_PIN D3
  36. #define RGBLED_NUM 10