add stop review mode
This commit is contained in:
parent
cb8c6c0951
commit
27dbacf4ea
@ -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
|
||||||
|
Binary file not shown.
15
src/fenrir-package/commands/commands/exit_review.py
Normal file
15
src/fenrir-package/commands/commands/exit_review.py
Normal 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
|
Loading…
Reference in New Issue
Block a user