fix: resolve #276 (reimplement #142) by allowing custom matrix scanners

This commit is contained in:
Josh Klar 2021-12-06 12:02:09 -08:00
parent 5fcd31b97c
commit 8063898eb2
No known key found for this signature in database
GPG Key ID: A4A0C7B4E8EEE222

View File

@ -355,7 +355,7 @@ class KMKKeyboard:
self._hid_helper = self._hid_helper(**self._go_args)
def _init_matrix(self):
self.matrix = MatrixScanner(
self.matrix = self.matrix_scanner(
cols=self.col_pins,
rows=self.row_pins,
diode_orientation=self.diode_orientation,