Make suggested changes
This commit is contained in:
parent
606780ee1c
commit
637991cedc
@ -175,6 +175,7 @@ class Combos(Module):
|
|||||||
|
|
||||||
key = combo.result
|
key = combo.result
|
||||||
break
|
break
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# Non-active but matching combos can either activate on key release
|
# Non-active but matching combos can either activate on key release
|
||||||
# if they're the only match, or "un-match" the released key but stay
|
# if they're the only match, or "un-match" the released key but stay
|
||||||
@ -229,6 +230,7 @@ class Combos(Module):
|
|||||||
# Reset on non-combo key up
|
# Reset on non-combo key up
|
||||||
if not self._matching:
|
if not self._matching:
|
||||||
self.reset(keyboard)
|
self.reset(keyboard)
|
||||||
|
|
||||||
return key
|
return key
|
||||||
|
|
||||||
def on_timeout(self, keyboard, combo):
|
def on_timeout(self, keyboard, combo):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user