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.

45 lines
1.0 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6070
  6. #define DEVICE_VER 0x0001
  7. #define MANUFACTURER WoodKeys.click
  8. #define PRODUCT CrawlPad
  9. /* key matrix size */
  10. #define MATRIX_ROWS 4
  11. #define MATRIX_COLS 4
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { F0, F1, F4, F5 }
  14. #define MATRIX_COL_PINS { D4, D5, D6, D7 }
  15. #define UNUSED_PINS
  16. /* Pins for custom per-row LEDs. Should be changed to use named pins. */
  17. #define LED_ROW_PINS { 8, 9, 10, 11 }
  18. /* COL2ROW or ROW2COL */
  19. #define DIODE_DIRECTION ROW2COL
  20. /* Set 0 if debouncing isn't needed */
  21. #define DEBOUNCE 5
  22. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  23. #define LOCKING_SUPPORT_ENABLE
  24. /* Locking resynchronize hack */
  25. #define LOCKING_RESYNC_ENABLE
  26. /* key combination for command */
  27. #define IS_COMMAND() ( \
  28. false \
  29. )
  30. #ifdef RGBLIGHT_ENABLE
  31. #define RGB_DI_PIN D3
  32. #define RGBLIGHT_ANIMATIONS
  33. #define RGBLED_NUM 3
  34. #endif