def exit(self):
     if (self.mode == "speech"):
         self.grammar.unload()
         toggle_speechrec()
     self.mode = "regular"
     turn_on_sound()
     toggle_eyetracker()
Beispiel #2
0
    def start(self):
        turn_on_sound()

        moveTo(500, 500)
        click()
        moveTo(2000, 2000)

        hotkey('ctrl', 'f')
Beispiel #3
0
    def exit(self):
        if (self.mode == "speech"):
            self.toggle_speech()

        self.release_hold_keys()
        self.mode = "regular"
        turn_on_sound()
        update_overlay_image("default")
        toggle_eyetracker()
Beispiel #4
0
    def start(self):
        turn_on_sound()

        moveTo(500, 500)
        click()
        press('space')
        press('space')
        moveTo(500, 2000)

        press('f')
Beispiel #5
0
 def exit(self):
     toggle_eyetracker()
     turn_on_sound()
Beispiel #6
0
 def exit(self):
     self.grammar.unload()
     toggle_speechrec()
     turn_on_sound()
Beispiel #7
0
 def exit(self):
     self.mode = "regular"
     turn_on_sound()
     update_overlay_image("default")
     toggle_eyetracker()