Merge pull request #142 from elvis-epx/altmatrix
Apply matrix_scanner attribute instead of fixed classmain
commit
80004bb65f
|
|
@ -264,7 +264,7 @@ class KMKKeyboard:
|
||||||
else:
|
else:
|
||||||
self.led = None
|
self.led = None
|
||||||
|
|
||||||
self.matrix = MatrixScanner(
|
self.matrix = self.matrix_scanner(
|
||||||
cols=self.col_pins,
|
cols=self.col_pins,
|
||||||
rows=self.row_pins,
|
rows=self.row_pins,
|
||||||
diode_orientation=self.diode_orientation,
|
diode_orientation=self.diode_orientation,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue