layers and keymap test
This commit is contained in:
16
keytypes.py
Normal file
16
keytypes.py
Normal 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)
|
||||
Reference in New Issue
Block a user