Update fenrir.py
This commit is contained in:
parent
d46b37b4e1
commit
de7fe4c25f
@ -27,11 +27,12 @@ class fenrir():
|
||||
def handleProcess(self):
|
||||
self.environment, timeout = self.environment['runtime']['inputManager'].proceedInputEvents(self.environment)
|
||||
self.environment = self.environment['runtime']['screenDriver'].analyzeScreen(self.environment)
|
||||
if not self.environment['input']['keyForeward']:
|
||||
self.environment = self.environment['runtime']['commandManager'].getCommandForShortcut(self.environment)
|
||||
if not timeout:
|
||||
self.environment = self.environment['runtime']['commandManager'].executeTriggerCommands(self.environment, 'onInput')
|
||||
self.environment = self.environment['runtime']['commandManager'].executeTriggerCommands(self.environment, 'onScreenChanged')
|
||||
if not self.environment['input']['keyForeward']:
|
||||
self.environment = self.environment['runtime']['commandManager'].getCommandForShortcut(self.environment)
|
||||
if self.environment['commandInfo']['currCommand'] != '':
|
||||
self.handleCommands()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user