layers and keymap test

This commit is contained in:
2022-01-06 12:06:18 +01:00
parent eb75011921
commit 38c5b6e78b
6 changed files with 194 additions and 76 deletions

16
keytypes.py Normal file
View File

@@ -0,0 +1,16 @@
class LayerKey:
layer: int
def __init__(self, layer: int):
self.layer = layer
class Toggle(LayerKey):
def __init__(self, layer: int):
super().__init__(layer)
class Hold(LayerKey):
def __init__(self, layer: int):
super().__init__(layer)