From 8063898eb279cebfcf3e2442162a5ced0585d8df Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Mon, 6 Dec 2021 12:02:09 -0800 Subject: [PATCH] fix: resolve #276 (reimplement #142) by allowing custom matrix scanners --- kmk/kmk_keyboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmk/kmk_keyboard.py b/kmk/kmk_keyboard.py index 6087f05..d91f2c0 100644 --- a/kmk/kmk_keyboard.py +++ b/kmk/kmk_keyboard.py @@ -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,