You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
795 B

  1. /**
  2. * config.h
  3. */
  4. #pragma once
  5. #include "config_common.h"
  6. /* USB Device descriptor parameter */
  7. #define VENDOR_ID 0x4D58 // MX
  8. #define PRODUCT_ID 0x8712 // matrix 1.2 og
  9. #define DEVICE_VER 0x0001
  10. #define MANUFACTURER matrix
  11. #define PRODUCT M12OG
  12. /* key matrix size */
  13. #define MATRIX_ROWS 7
  14. #define MATRIX_COLS 14
  15. /* key matrix pins */
  16. #define MATRIX_ROW_PINS { E6, F0, B7, C7, D3, B0, D1 }
  17. #define MATRIX_COL_PINS { F1, F4, F5, F6, F7, B6, B5, B4, D7, D0, D2, D6, D4, D5 }
  18. #define UNUSED_PINS
  19. /* COL2ROW or ROW2COL */
  20. #define DIODE_DIRECTION COL2ROW
  21. #define RGB_DI_PIN B3
  22. #ifdef RGB_DI_PIN
  23. #define RGBLIGHT_ANIMATIONS
  24. #define RGBLED_NUM 16
  25. #define RGBLIGHT_HUE_STEP 8
  26. #define RGBLIGHT_SAT_STEP 8
  27. #define RGBLIGHT_VAL_STEP 8
  28. #define RGBLIGHT_SLEEP
  29. #endif