implement hold-tap interrupt for Layers

This commit is contained in:
xs5871
2022-02-03 21:09:39 +00:00
committed by Kyle Brown
parent a685618480
commit 1c6b25517a
6 changed files with 61 additions and 36 deletions

View File

@@ -27,6 +27,9 @@ class Module:
'''
raise NotImplementedError
def process_key(self, keyboard, key, is_pressed, int_coord):
return key
def before_hid_send(self, keyboard):
raise NotImplementedError
@@ -38,6 +41,3 @@ class Module:
def on_powersave_disable(self, keyboard):
raise NotImplementedError
def process_key(self, keyboard, key, is_pressed):
return key