config.h 939 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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 SpaceCityKeyboards
  8. #define PRODUCT GTM Pad
  9. /* key matrix size */
  10. #define MATRIX_ROWS 3
  11. #define MATRIX_COLS 6
  12. /* key matrix pins */
  13. #define MATRIX_ROW_PINS { C4, C5, D1 }
  14. #define MATRIX_COL_PINS { B4, B5, B6, B7, C7, D0 }
  15. #define UNUSED_PINS
  16. #define ENCODERS_PAD_A { D2 }
  17. #define ENCODERS_PAD_B { D3 }
  18. #define ENCODER_RESOLUTION 1
  19. /* COL2ROW or ROW2COL */
  20. #define DIODE_DIRECTION COL2ROW
  21. /* Set 0 if debouncing isn't needed */
  22. #define DEBOUNCE 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. #ifdef RGBLIGHT_ENABLE
  28. #define RGB_DI_PIN B0
  29. #define RGBLIGHT_ANIMATIONS
  30. #define RGBLED_NUM 4
  31. #endif