diff --git a/kmk/kmk_keyboard.py b/kmk/kmk_keyboard.py index dd9316845..7bdc74918 100644 --- a/kmk/kmk_keyboard.py +++ b/kmk/kmk_keyboard.py @@ -33,7 +33,20 @@ class Sandbox: active_layers = None -class KMKKeyboard: +class KMKKeyboard: def __init__( + self, + keymap=[], + coord_mapping=None, + matrix=None, + modules=[], + extensions=[], + ): + self.keymap = keymap + self.coord_mapping = coord_mapping + self.matrix = matrix + self.modules = modules + self.extensions = extensions + ##### # User-configurable keymap = []