unit test fail may be caused by a stuck combo

This commit is contained in:
xs5871 2022-07-09 09:50:01 +00:00 committed by Kyle Brown
parent db395a81e4
commit 20705e2150
2 changed files with 2 additions and 3 deletions

View File

@ -193,6 +193,7 @@ class Combos(Module):
else:
combo._remaining.insert(0, key)
self._matching.append(combo)
self.reset(keyboard)
elif not combo._remaining:
continue

View File

@ -120,6 +120,4 @@ class KeyboardTest:
def do_main_loop(self):
self.keyboard._main_loop()
time.sleep(0.001)
self.keyboard._main_loop()
time.sleep(0.001)
time.sleep(0.002)