logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

test_config.h (628B)


  1. #pragma once
  2. // list of OUTPUT(row) ports
  3. #define MATRIX_OUT_PORTS (Port_D, MCU_GPIO, D0), (Port_C, MCU_GPIO, C0), (Port_E, MCU_GPIO, E0), (Port_B, MCU_GPIO, B0)
  4. // list of OUTPUT(row) pins
  5. #define MATRIX_OUT_PINS \
  6. (0, Port_D, 4), \
  7. (1, Port_C, 6), \
  8. (2, Port_D, 7), \
  9. (3, Port_E, 6), \
  10. (4, Port_B, 4), \
  11. (5, Port_B, 5)
  12. // list of INPUT(col) ports
  13. #define MATRIX_IN_PORTS (Port_F, MCU_GPIO, F0), (Port_B, MCU_GPIO, B0)
  14. // list of INPUT(col) pins
  15. #define MATRIX_IN_PINS \
  16. (0, Port_F, 4), \
  17. (1, Port_F, 5), \
  18. (2, Port_F, 6), \
  19. (3, Port_F, 7), \
  20. (4, Port_B, 1), \
  21. (5, Port_B, 3)