fix KC.LM

This commit is contained in:
xs5871
2022-05-26 11:29:41 +00:00
committed by Kyle Brown
parent 4a29530ad5
commit 08d3386643
3 changed files with 32 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ def key_seq_sleep_validator(ms):
return KeySeqSleepMeta(ms)
def layer_key_validator(layer):
def layer_key_validator(layer, kc=None):
'''
Validates the syntax (but not semantics) of a layer key call. We won't
have access to the keymap here, so we can't verify much of anything useful
@@ -13,7 +13,7 @@ def layer_key_validator(layer):
existing is mostly that Python will catch extraneous args/kwargs and error
out.
'''
return LayerKeyMeta(layer)
return LayerKeyMeta(layer, kc)
def mod_tap_validator(