Add QMK equivalent attributes of DiodeOrientation

This commit is contained in:
Jasper Chan committed 2021-09-13 20:34:49 -07:00
1 parent d3b315d059
commit 7601a6f21f
8 files changed
+13 -9

No files matched your search

+4
View File
@@ -10,10 +10,14 @@ class DiodeOrientation:
Orientation of diodes on handwired boards. You can think of:
COLUMNS = vertical
ROWS = horizontal
COL2ROW and ROW2COL are equivalent to their meanings in QMK.
'''
COLUMNS = 0
ROWS = 1
COL2ROW = COLUMNS
ROW2COL = ROWS
class MatrixScanner: