Resolve issues with leader mode, allow single-key targets (HID or internal)

This commit is contained in:
Josh Klar committed 2018-12-29 16:52:06 -08:00
1 parent ea63c888d6
commit 0878538f42
3 files changed
+18 -2

No files matched your search

+2
View File
@@ -1,4 +1,5 @@
from kmk.consts import UnicodeMode
from kmk.handlers.stock import passthrough
from kmk.keys import KC, make_key
from kmk.types import AttrDict, KeySequenceMeta
from kmk.util import get_wide_ordinal
@@ -25,6 +26,7 @@ def simple_key_sequence(seq):
return make_key(
meta=KeySequenceMeta(seq),
on_press=sequence_press_handler,
on_release=passthrough,
)