diff options
author | Nikolaus Wittenstein <nikolaus.wittenstein@gmail.com> | 2017-02-06 01:42:00 +0100 |
---|---|---|
committer | Nikolaus Wittenstein <nikolaus.wittenstein@gmail.com> | 2017-02-06 01:47:33 +0100 |
commit | 8cbf61c91923e5399b158f7f9258096cb0089ce2 (patch) | |
tree | eb525287e392da707d5319296da1c8b6aaf815ef /quantum/config_common.h | |
parent | d961c80df2391631f7b3f46afa595ce93f51f217 (diff) | |
download | qmk_firmware-8cbf61c91923e5399b158f7f9258096cb0089ce2.tar.gz qmk_firmware-8cbf61c91923e5399b158f7f9258096cb0089ce2.tar.xz |
Add new DIODE_DIRECTION option
The previous two options were COL2ROW, ROW2COL; this adds CUSTOM_MATRIX
to disable the built-in matrix scanning code.
Most notably, this obviates the need to set MATRIX_ROW_PINS or
MATRIX_COL_PINS.
Diffstat (limited to 'quantum/config_common.h')
-rw-r--r-- | quantum/config_common.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/quantum/config_common.h b/quantum/config_common.h index 4bdb2065d..28f68b9c7 100644 --- a/quantum/config_common.h +++ b/quantum/config_common.h @@ -2,8 +2,10 @@ #define CONFIG_DEFINITIONS_H /* diode directions */ -#define COL2ROW 0 -#define ROW2COL 1 +#define COL2ROW 0 +#define ROW2COL 1 +#define CUSTOM_MATRIX 2 /* Disables built-in matrix scanning code */ + /* I/O pins */ #ifndef F0 #define B0 0x30 |