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.

52 lines
1.2 KiB

  1. /**
  2. * config.h
  3. *
  4. */
  5. #pragma once
  6. #include "config_common.h"
  7. /* USB Device descriptor parameter */
  8. #define VENDOR_ID 0xDEAD
  9. #define PRODUCT_ID 0x6585
  10. #define DEVICE_VER 0x0001
  11. #define MANUFACTURER astro
  12. #define PRODUCT smk 60
  13. /* key matrix size */
  14. #define MATRIX_ROWS 5
  15. #define MATRIX_COLS 15
  16. /* key matrix pins */
  17. #define MATRIX_ROW_PINS { B0, F0, F1, F5, B2 }
  18. #define MATRIX_COL_PINS { B4, B5, B6, C6, C7, F6, F7, F4, B1, B3, D0, D1, D2, D3, D5}
  19. #define UNUSED_PINS
  20. #define DIODE_DIRECTION COL2ROW
  21. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  22. #define DEBOUNCE 5
  23. /*
  24. * Feature disable options
  25. * These options are also useful to firmware size reduction.
  26. */
  27. /* disable debug print */
  28. //#define NO_DEBUG
  29. /* disable print */
  30. //#define NO_PRINT
  31. /* disable action features */
  32. //#define NO_ACTION_LAYER
  33. //#define NO_ACTION_TAPPING
  34. //#define NO_ACTION_ONESHOT
  35. //#define NO_ACTION_MACRO
  36. //#define NO_ACTION_FUNCTION
  37. //rgb light setting
  38. #define RGBLED_NUM 4
  39. #define RGB_DI_PIN E6
  40. #define RGBLIGHT_ANIMATIONS
  41. #define RGBLIGHT_HUE_STEP 8
  42. #define RGBLIGHT_SAT_STEP 8
  43. #define RGBLIGHT_VAL_STEP 8