Merge pull request #34 from KMKfw/topic-super-quick-hotfix

Return state by default on Macro if not a key up or key down event
main
Josh Klar 2018-10-01 22:14:46 -07:00 committed by GitHub
commit d8adeea180
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -125,3 +125,5 @@ def macro(state, action_type, changed_key, logger):
if changed_key.keydown: if changed_key.keydown:
state.macro_pending = changed_key.keydown state.macro_pending = changed_key.keydown
return state return state
return state