Skip to content

Commit

Permalink
Add __init__() method to KMKKeyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
regicidalplutophage authored Nov 10, 2024
1 parent 79cff81 commit 115b1ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions kmk/kmk_keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,20 @@ class Sandbox:


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 = []
Expand Down

0 comments on commit 115b1ca

Please sign in to comment.