aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/config.h')
-rw-r--r--keyboards/handwired/onekey/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/config.h b/keyboards/handwired/onekey/config.h
index 64a447481..652a99cab 100644
--- a/keyboards/handwired/onekey/config.h
+++ b/keyboards/handwired/onekey/config.h
@@ -29,6 +29,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS 1
#define MATRIX_COLS 1
+#define DIODE_DIRECTION COL2ROW
+
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST