prelim module support

This commit is contained in:
Kyle Brown committed 2020-11-13 23:27:48 -08:00
1 parent a85ec2cc3f
commit 8839c1c7ec
13 files changed
+235 -159

No files matched your search

+3 -3
View File
@@ -8,12 +8,12 @@ class Extension:
def enable(self, keyboard):
self._enabled = True
self.on_runtime_enable(self, keyboard)
self.on_runtime_enable(keyboard)
def disable(self, keyboard):
self._enabled = False
self.on_runtime_disable(self, keyboard)
self.on_runtime_disable(keyboard)
# The below methods should be implemented by subclasses
@@ -32,7 +32,7 @@ class Extension:
'''
raise NotImplementedError
def after_matrix_scan(self, keyboard, matrix_update):
def after_matrix_scan(self, keyboard):
'''
Return value will be replace matrix update if supplied
'''