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.

51 lines
1.5 KiB

  1. #pragma once
  2. #include "config_common.h"
  3. #define PRODUCT_ID 0x3632
  4. #define DEVICE_VER 0x0001
  5. #define PRODUCT DMOTE (62-key)
  6. #define MATRIX_ROWS 12
  7. #define MATRIX_COLS 6
  8. // MCUs are flipped on each side, relative to the shape of the case,
  9. // but for ease of mounting, the pinout is not flipped with the controller.
  10. // The same finger on each hand uses a column connected to the pin with the
  11. // same silk-screen label on each Pro Micro.
  12. // Pin use:
  13. //
  14. // MCU | Silk | DMOTE
  15. // -----+------+----------
  16. // D3 | TX0 |
  17. // D2 | RX1 |
  18. // D1 | 2 | LED strip input (dominant half only)
  19. // D0 | 3 | Serial interface between halves
  20. // D4 | 4 | Outermost pinky-finger column
  21. // C6 | 5 | Column
  22. // D7 | 6 | Column
  23. // E6 | 7 | Column
  24. // B4 | 8 | Column
  25. // B5 | 9 | Outermost index-finger column
  26. // -----+------+----------
  27. // F4 | A3 |
  28. // F5 | A2 |
  29. // F6 | A1 | Top row (furthest from user)
  30. // F7 | A0 | Row
  31. // B1 | 15 | Row
  32. // B3 | 14 | Row
  33. // B2 | 16 | Row
  34. // B6 | 10 | Bottom row (closest to user)
  35. #define MATRIX_ROW_PINS { F6, F7, B1, B3, B2, B6 }
  36. #define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
  37. #define DIODE_DIRECTION COL2ROW
  38. // WS2812 RGB LED, normally used to indicate keyboard state:
  39. #define RGBLIGHT_EFFECT_KNIGHT
  40. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  41. #define RGBLIGHT_EFFECT_CHRISTMAS
  42. #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
  43. #define RGB_DI_PIN D1
  44. #define RGBLED_NUM 6 // Used when chaining strips
  45. #define RGBLED_SPLIT { 3, 3 } // Used when not chaining strips