config.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #pragma once
  2. #include "config_common.h"
  3. #define VENDOR_ID 0xFEED
  4. #define PRODUCT_ID 0x1319
  5. #define DEVICE_VER 0x0001
  6. #define MANUFACTURER Geekboards
  7. #define PRODUCT Geekboards Tester
  8. #define DESCRIPTION Geekboards 8-keys macropad
  9. #define MATRIX_ROWS 2
  10. #define MATRIX_COLS 4
  11. #define MATRIX_ROW_PINS { B0, D4}
  12. #define MATRIX_COL_PINS { F7, F6, D2, D3}
  13. #define UNUSED_PINS
  14. #define DIODE_DIRECTION COL2ROW
  15. #define LOCKING_SUPPORT_ENABL
  16. #define LOCKING_RESYNC_ENABLE
  17. #define DEBOUNCE 3
  18. #ifdef RGB_MATRIX_ENABLE
  19. #define RGB_DISABLE_AFTER_TIMEOUT 0
  20. #define RGB_DISABLE_WHEN_USB_SUSPENDED true
  21. #define RGB_MATRIX_KEYPRESSES
  22. #define DISABLE_RGB_MATRIX_SPLASH
  23. #define DISABLE_RGB_MATRIX_MULTISPLASH
  24. #define DISABLE_RGB_MATRIX_SOLID_SPLASH
  25. #define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
  26. #define DRIVER_ADDR_1 0b1110100
  27. #define DRIVER_ADDR_2 0b1110101
  28. #define DRIVER_COUNT 2
  29. #define DRIVER_1_LED_TOTAL 8
  30. #define DRIVER_2_LED_TOTAL 0
  31. #define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
  32. #endif