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.

53 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. #define DESCRIPTION 60% keyboard for smk switch
  14. /* key matrix size */
  15. #define MATRIX_ROWS 5
  16. #define MATRIX_COLS 15
  17. /* key matrix pins */
  18. #define MATRIX_ROW_PINS { B0, F0, F1, F5, B2 }
  19. #define MATRIX_COL_PINS { B4, B5, B6, C6, C7, F6, F7, F4, B1, B3, D0, D1, D2, D3, D5}
  20. #define UNUSED_PINS
  21. #define DIODE_DIRECTION COL2ROW
  22. /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
  23. #define DEBOUNCE 5
  24. /*
  25. * Feature disable options
  26. * These options are also useful to firmware size reduction.
  27. */
  28. /* disable debug print */
  29. //#define NO_DEBUG
  30. /* disable print */
  31. //#define NO_PRINT
  32. /* disable action features */
  33. //#define NO_ACTION_LAYER
  34. //#define NO_ACTION_TAPPING
  35. //#define NO_ACTION_ONESHOT
  36. //#define NO_ACTION_MACRO
  37. //#define NO_ACTION_FUNCTION
  38. //rgb light setting
  39. #define RGBLED_NUM 4
  40. #define RGB_DI_PIN E6
  41. #define RGBLIGHT_ANIMATIONS
  42. #define RGBLIGHT_HUE_STEP 8
  43. #define RGBLIGHT_SAT_STEP 8
  44. #define RGBLIGHT_VAL_STEP 8