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

+11 -12
View File
@@ -75,34 +75,33 @@ class LED(Extension):
'val': self.val,
}
def on_runtime_enable(self, keyboard):
def on_runtime_enable(self, sandbox):
return
def on_runtime_disable(self, keyboard):
def on_runtime_disable(self, sandbox):
return
def during_bootup(self, keyboard):
def during_bootup(self, sandbox):
return
def before_matrix_scan(self, keyboard):
def before_matrix_scan(self, sandbox):
return
def after_matrix_scan(self, keyboard, matrix_update):
def after_matrix_scan(self, sandbox):
return
def before_hid_send(self, keyboard):
def before_hid_send(self, sandbox):
return
def after_hid_send(self, keyboard):
def after_hid_send(self, sandbox):
if self._enabled and self.animation_mode:
self.animate()
return keyboard
def on_powersave_enable(self, keyboard):
return
def on_powersave_disable(self, keyboard):
def on_powersave_enable(self, sandbox):
return
def on_powersave_disable(self, sandbox):
return
def _init_effect(self):