This commit is contained in:
Jonas Zeunert
2020-02-13 21:58:15 +01:00
parent 413bd84530
commit 0671c504ae
3 changed files with 7 additions and 3 deletions

View File

@@ -7,7 +7,8 @@ class InputHandler:
self.isRunning = True
self.targets = targets
async def handleInputs(self):
@asyncio.coroutine
def handleInputs(self):
self.isRunning = True
while self.isRunning:
event = await Networking().getInputEvent()