config.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #define DESCRIPTION ATX Keycrawl 2017
  10. /* key matrix size */
  11. #define MATRIX_ROWS 4
  12. #define MATRIX_COLS 4
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { F0, F1, F4, F5 }
  15. #define MATRIX_COL_PINS { D4, D5, D6, D7 }
  16. #define UNUSED_PINS
  17. /* Pins for custom per-row LEDs. Should be changed to use named pins. */
  18. #define LED_ROW_PINS { 8, 9, 10, 11 }
  19. /* COL2ROW or ROW2COL */
  20. #define DIODE_DIRECTION ROW2COL
  21. /* Set 0 if debouncing isn't needed */
  22. #define DEBOUNCING_DELAY 5
  23. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  24. #define LOCKING_SUPPORT_ENABLE
  25. /* Locking resynchronize hack */
  26. #define LOCKING_RESYNC_ENABLE
  27. /* key combination for command */
  28. #define IS_COMMAND() ( \
  29. false \
  30. )
  31. #ifdef RGBLIGHT_ENABLE
  32. #define RGB_DI_PIN D3
  33. #define RGBLIGHT_ANIMATIONS
  34. #define RGBLED_NUM 3
  35. #endif