diff options
author | Zach White <[email protected]> | 2021-01-06 10:42:37 -0800 |
---|---|---|
committer | Zach White <[email protected]> | 2021-01-07 21:21:12 -0800 |
commit | 4394fc35ea0af6b30aae5dc244281388903b9aa9 (patch) | |
tree | 45bcc525bdfa42114d75c574b3766f7329c4f2a0 /keyboards/matrix/m20add/config.h | |
parent | 82007aa03a93ba77e54f4660c80ef3749630de0c (diff) | |
download | qmk_firmware-4394fc35ea0af6b30aae5dc244281388903b9aa9.tar.gz qmk_firmware-4394fc35ea0af6b30aae5dc244281388903b9aa9.zip |
change matrix/m20add to use non-standard names for non-standard pins
Diffstat (limited to 'keyboards/matrix/m20add/config.h')
-rw-r--r-- | keyboards/matrix/m20add/config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/matrix/m20add/config.h b/keyboards/matrix/m20add/config.h index 8c3f922ab9..3164346495 100644 --- a/keyboards/matrix/m20add/config.h +++ b/keyboards/matrix/m20add/config.h @@ -45,7 +45,8 @@ #define COL15_MASK 0x04 #define COL16_MASK 0x02 -#define MATRIX_ROW_PINS { \ +// Note: MATRIX_ROW_PINS only works with standard pin names. +#define MATRIX_M20_ROW_PINS { \ DEF_PIN(TCA6424_PORT2, 7), \ DEF_PIN(TCA6424_PORT2, 6), \ DEF_PIN(TCA6424_PORT2, 0), \ @@ -53,7 +54,8 @@ DEF_PIN(TCA6424_PORT2, 4), \ DEF_PIN(TCA6424_PORT2, 5) } -#define MATRIX_COL_PINS { \ +// Note: MATRIX_COL_PINS only works with standard pin names. +#define MATRIX_M20_COL_PINS { \ DEF_PIN(TCA6424_PORT2, 1), \ DEF_PIN(TCA6424_PORT1, 7), \ DEF_PIN(TCA6424_PORT1, 6), \ |