config.h 980 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #pragma once
  2. #include "config_common.h"
  3. /* USB Device descriptor parameter */
  4. #define VENDOR_ID 0xFEED
  5. #define PRODUCT_ID 0x6090
  6. #define DEVICE_VER 0x0002
  7. #define MANUFACTURER WoodKeys.click
  8. #define PRODUCT 2Key2Crawl
  9. #define DESCRIPTION ATX Keycrawl 2018
  10. /* key matrix size */
  11. #define MATRIX_ROWS 2
  12. #define MATRIX_COLS 7
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { C4, C5 }
  15. #define MATRIX_COL_PINS { B3, B4, B5, B6, B7, C7, B2 }
  16. #define UNUSED_PINS
  17. #define ENCODERS_PAD_A { D0 }
  18. #define ENCODERS_PAD_B { D1 }
  19. #define ENCODER_RESOLUTION 1
  20. /* COL2ROW or ROW2COL */
  21. #define DIODE_DIRECTION COL2ROW
  22. /* Set 0 if debouncing isn't needed */
  23. #define DEBOUNCE 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. #ifdef RGBLIGHT_ENABLE
  29. #define RGB_DI_PIN C6
  30. #define RGBLIGHT_ANIMATIONS
  31. #define RGBLED_NUM 3
  32. #endif