add first trigger

This commit is contained in:
chrys 2016-07-12 23:12:39 +02:00
parent 6f84710b6f
commit af78d252ba
3 changed files with 0 additions and 3 deletions

View File

@ -5,7 +5,6 @@ class command():
pass pass
def run(self, environment): def run(self, environment):
environment['runtime']['speechDriver'].cancel() environment['runtime']['speechDriver'].cancel()
print('input changed stop')
return environment return environment
def setCallback(self, callback): def setCallback(self, callback):
pass pass

View File

@ -7,7 +7,6 @@ class command():
if environment['screenData']['newDelta'] != environment['screenData']['oldDelta'] or \ if environment['screenData']['newDelta'] != environment['screenData']['oldDelta'] or \
environment['screenData']['newTTY'] != environment['screenData']['oldTTY']: environment['screenData']['newTTY'] != environment['screenData']['oldTTY']:
environment['runtime']['speechDriver'].speak(environment['screenData']['newDelta']) environment['runtime']['speechDriver'].speak(environment['screenData']['newDelta'])
print('input changed bla')
return environment return environment
def setCallback(self, callback): def setCallback(self, callback):
pass pass

View File

@ -7,7 +7,6 @@ class command():
if environment['screenData']['newDelta'] != environment['screenData']['oldDelta'] or \ if environment['screenData']['newDelta'] != environment['screenData']['oldDelta'] or \
environment['screenData']['newTTY'] != environment['screenData']['oldTTY']: environment['screenData']['newTTY'] != environment['screenData']['oldTTY']:
environment['runtime']['speechDriver'].speak(environment['screenData']['newDelta']) environment['runtime']['speechDriver'].speak(environment['screenData']['newDelta'])
print('screenchanged bla')
return environment return environment
def setCallback(self, callback): def setCallback(self, callback):
pass pass