summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/wulkan/config.h
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2020-01-19 14:11:57 +1100
committerGitHub <noreply@github.com>2020-01-19 14:11:57 +1100
commiteb5d267e637db4c2c639932b8c8176bf47dff78f (patch)
tree8e9f36d80dac91f40b95eb53022118bb7deb94a3 /keyboards/handwired/wulkan/config.h
parenteaed517c0bfb10c9169457ba2a187c0c4b0eef2e (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/handwired/wulkan/config.h')
-rw-r--r--keyboards/handwired/wulkan/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/handwired/wulkan/config.h b/keyboards/handwired/wulkan/config.h
index 4a9cbada7e..6282065350 100644
--- a/keyboards/handwired/wulkan/config.h
+++ b/keyboards/handwired/wulkan/config.h
@@ -17,6 +17,8 @@
#define MATRIX_ROW_PINS { B8, A0, A1, A2 }
#define MATRIX_COL_PINS { B13, B14, B15, B9, B7, B6, B5, B4, B3, B2, B1, B0 }
+#define DIODE_DIRECTION COL2ROW
+
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
#define DEBOUNCE 5