config.h 1.1 KB

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