config.h 985 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 SpaceCityKeyboards
  8. #define PRODUCT GTM Pad
  9. #define DESCRIPTION Grand Theft Macro Pad
  10. /* key matrix size */
  11. #define MATRIX_ROWS 3
  12. #define MATRIX_COLS 6
  13. /* key matrix pins */
  14. #define MATRIX_ROW_PINS { C4, C5, D1 }
  15. #define MATRIX_COL_PINS { B4, B5, B6, B7, C7, D0 }
  16. #define UNUSED_PINS
  17. #define ENCODERS_PAD_A { D2 }
  18. #define ENCODERS_PAD_B { D3 }
  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 B0
  30. #define RGBLIGHT_ANIMATIONS
  31. #define RGBLED_NUM 4
  32. #endif