add stop review mode

This commit is contained in:
chrys 2016-07-13 22:06:33 +02:00
parent cb8c6c0951
commit 27dbacf4ea
3 changed files with 16 additions and 4 deletions

View File

@ -1,8 +1,5 @@
#2-KEY_LEFTCTRL,1-KEY_LEFTSHIFT=curr_line
#2-KEY_LEFTCTRL,1-KEY_S=next_line
#2-KEY_LEFTCTRL,1-KEY_W=prev_line
2-KEY_LEFTCTRL,1-KEY_E=shut_up 2-KEY_LEFTCTRL,1-KEY_E=shut_up
1-KEY_KP8=curr_line 1-KEY_KP8=curr_line
1-KEY_KP7=prev_line 1-KEY_KP7=prev_line
1-KEY_KP9=next_line 1-KEY_KP9=next_line
1-KEY_KPDOT=exit_review

View File

@ -0,0 +1,15 @@
#!/bin/python
class command():
def __init__(self):
pass
def run(self, environment):
environment['runtime']['speechDriver'].cancel()
environment['screenData']['oldCursorReview'] = {'x':-1,'y':-1}
environment['screenData']['newCursorReview'] = {'x':-1,'y':-1}
environment['runtime']['speechDriver'].speak("leve review mode")
return environment
def setCallback(self, callback):
pass
def shutdown(self):
pass