You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.0 KiB

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