Unbreak the general idea of KC_DF and KC_MO, though still needs heavy refactors

This commit is contained in:
Josh Klar
2018-09-21 23:44:30 -07:00
parent 8a55dcca04
commit 392917082a
6 changed files with 69 additions and 45 deletions

View File

@@ -12,7 +12,7 @@ except ImportError:
class Firmware:
def __init__(
self, keymap, row_pins, col_pins, active_layers,
self, keymap, row_pins, col_pins,
diode_orientation, hid=None, log_level=logging.NOTSET,
):
logger = logging.getLogger(__name__)
@@ -36,7 +36,6 @@ class Firmware:
keymap=keymap,
row_pins=row_pins,
col_pins=col_pins,
active_layers=active_layers,
diode_orientation=diode_orientation,
))
@@ -51,7 +50,6 @@ class Firmware:
self.matrix = MatrixScanner(
state.col_pins,
state.row_pins,
state.active_layers,
state.diode_orientation,
)