From fbefed283b2adb4461a10b2dcf0c25953c91dfe9 Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Mon, 1 Oct 2018 21:53:48 -0700 Subject: [PATCH] Return state by default on Macro if not a key up or key down event --- kmk/common/internal_keycodes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kmk/common/internal_keycodes.py b/kmk/common/internal_keycodes.py index f197e79..1d73004 100644 --- a/kmk/common/internal_keycodes.py +++ b/kmk/common/internal_keycodes.py @@ -125,3 +125,5 @@ def macro(state, action_type, changed_key, logger): if changed_key.keydown: state.macro_pending = changed_key.keydown return state + + return state