diff options
author | fauxpark <fauxpark@gmail.com> | 2020-01-19 14:11:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-19 14:11:57 +1100 |
commit | eb5d267e637db4c2c639932b8c8176bf47dff78f (patch) | |
tree | 8e9f36d80dac91f40b95eb53022118bb7deb94a3 /keyboards/rgbkb | |
parent | eaed517c0bfb10c9169457ba2a187c0c4b0eef2e (diff) |
Enforce definition of `DIODE_DIRECTION` for non-custom matrix boards (#7915)
* Enforce definition of `DIODE_DIRECTION` for non-custom matrix boards
* Define diode direction for failing boards
* Matching parentheses
* Put onekey diode directions in top level config
Diffstat (limited to 'keyboards/rgbkb')
-rw-r--r-- | keyboards/rgbkb/sol/config.h | 2 | ||||
-rw-r--r-- | keyboards/rgbkb/zygomorph/rev1/config.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/keyboards/rgbkb/sol/config.h b/keyboards/rgbkb/sol/config.h index 9b136db058..f42783f719 100644 --- a/keyboards/rgbkb/sol/config.h +++ b/keyboards/rgbkb/sol/config.h @@ -35,6 +35,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_COLS 7 #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7 } +#define DIODE_DIRECTION COL2ROW + /* Set 0 if debouncing isn't needed */ #define DEBOUNCE 5 diff --git a/keyboards/rgbkb/zygomorph/rev1/config.h b/keyboards/rgbkb/zygomorph/rev1/config.h index 6e55a6a5f5..246e391ac1 100644 --- a/keyboards/rgbkb/zygomorph/rev1/config.h +++ b/keyboards/rgbkb/zygomorph/rev1/config.h @@ -38,6 +38,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_COLS 6 #define MATRIX_COL_PINS { F4, F6, C7, C6, B6, D4 } +#define DIODE_DIRECTION COL2ROW + #define SOFT_SERIAL_PIN D3 #define ENCODERS_PAD_A { D2 } |