config.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /**
  2. * config.h
  3. *
  4. */
  5. #pragma once
  6. #include "config_common.h"
  7. /* USB Device descriptor parameter */
  8. #define VENDOR_ID 0x60BE
  9. #define PRODUCT_ID 0x00BE
  10. #define DEVICE_VER 0x0001
  11. #define MANUFACTURER astro
  12. #define PRODUCT Dumplings
  13. #define DESCRIPTION 60% rgb keyboard with ble extension
  14. /* key matrix size */
  15. #define MATRIX_ROWS 5
  16. #define MATRIX_COLS 14
  17. #define UNUSED_PINS
  18. #define DIODE_DIRECTION COL2ROW
  19. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  20. #define DEBOUNCE 5
  21. /*
  22. * Feature disable options
  23. * These options are also useful to firmware size reduction.
  24. */
  25. /* disable debug print */
  26. //#define NO_DEBUG
  27. /* disable print */
  28. //#define NO_PRINT
  29. //rgb light setting
  30. #define RGBLED_NUM 18
  31. #define RGB_DI_PIN D7
  32. #define RGBLIGHT_ANIMATIONS
  33. #define RGBLIGHT_HUE_STEP 8
  34. #define RGBLIGHT_SAT_STEP 8
  35. #define RGBLIGHT_VAL_STEP 8
  36. //rgb matrix setting
  37. #define DRIVER_ADDR_1 0b1110100
  38. #define DRIVER_ADDR_2 0b1110111
  39. #define DRIVER_COUNT 2
  40. #define DRIVER_1_LED_TOTAL 36
  41. #define DRIVER_2_LED_TOTAL 36
  42. #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
  43. #if defined(VIA_ENABLE)
  44. # define DYNAMIC_KEYMAP_LAYER_COUNT 2
  45. #endif