qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

test_config.h (628B)


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