try command structure, fix tutorial mode command

This commit is contained in:
chrys
2016-09-17 17:35:03 +02:00
parent 0f10ecd08a
commit 11289c09cd
5 changed files with 10 additions and 11 deletions

View File

@ -22,7 +22,7 @@ class inputManager():
timeout = False
environment['input']['firstEvent'] = event
environment['input']['currEvent'] = event
if not
#if not
#print(event)
return timeout

View File

@ -17,7 +17,6 @@ class outputManager():
environment['runtime']['speechDriver'].shutdown(environment)
def presentText(self, environment, text, interrupt=True, soundIcon = ''):
print(soundIcon,text)
environment['runtime']['debug'].writeDebugOut(environment,"presentText:\nsoundIcon:'"+soundIcon+"'\nText:\n" + text ,debug.debugLevel.INFO)
if self.playSoundIcon(environment, soundIcon, interrupt):
environment['runtime']['debug'].writeDebugOut(environment,"soundIcon found" ,debug.debugLevel.INFO)

View File

@ -45,7 +45,7 @@ class settingsManager():
shortcutKeys.append(key.upper())
shortcut.append(shortcutRepeat)
shortcut.append(sorted(shortcutKeys))
print(str(shortcut))
print(str(shortcut), commandName)
environment['bindings'][str(shortcut)] = commandName
kbConfig.close()