config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. #define DESCRIPTION 30 percent ortholinear keyboard
  11. /* key matrix size */
  12. #define MATRIX_ROWS 6
  13. #define MATRIX_COLS 5
  14. /* key matrix pins */
  15. #define MATRIX_ROW_PINS { D7, E6, B4, B1, B3, B2 }
  16. #define MATRIX_COL_PINS { D2, D4, C6, F6, F5 }
  17. #define UNUSED_PINS
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION COL2ROW
  20. /* number of backlight levels */
  21. #define BACKLIGHT_PIN B5
  22. #ifdef BACKLIGHT_PIN
  23. #define BACKLIGHT_LEVELS 3
  24. #endif
  25. /* Set 0 if debouncing isn't needed */
  26. #define DEBOUNCING_DELAY 5
  27. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  28. #define LOCKING_SUPPORT_ENABLE
  29. /* Locking resynchronize hack */
  30. #define LOCKING_RESYNC_ENABLE
  31. /* key combination for command */
  32. #define IS_COMMAND() ( \
  33. keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
  34. )
  35. #ifdef RGB_DI_PIN
  36. #define RGBLIGHT_ANIMATIONS
  37. #define RGBLIGHT_HUE_STEP 8
  38. #define RGBLIGHT_SAT_STEP 8
  39. #define RGBLIGHT_VAL_STEP 8
  40. #endif
  41. #define RGB_DI_PIN D3
  42. #define RGBLED_NUM 10
  43. #endif