Add QMK equivalent attributes of DiodeOrientation

This commit is contained in:
Jasper Chan
2021-09-13 20:30:05 -07:00
parent d3b315d059
commit 7601a6f21f
8 changed files with 13 additions and 9 deletions

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: