Merge pull request #142 from elvis-epx/altmatrix

Apply matrix_scanner attribute instead of fixed class
This commit is contained in:
Josh Klar 2019-08-20 15:50:09 -07:00 committed by GitHub
commit 80004bb65f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,