try command structure, fix tutorial mode command
This commit is contained in:
@ -22,7 +22,7 @@ class inputManager():
|
||||
timeout = False
|
||||
environment['input']['firstEvent'] = event
|
||||
environment['input']['currEvent'] = event
|
||||
if not
|
||||
#if not
|
||||
#print(event)
|
||||
|
||||
return timeout
|
||||
|
@ -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)
|
||||
|
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user