def exit(self): if (self.mode == "speech"): self.grammar.unload() toggle_speechrec() self.mode = "regular" turn_on_sound() toggle_eyetracker()
def start(self): turn_on_sound() moveTo(500, 500) click() moveTo(2000, 2000) hotkey('ctrl', 'f')
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()
def start(self): turn_on_sound() moveTo(500, 500) click() press('space') press('space') moveTo(500, 2000) press('f')
def exit(self): toggle_eyetracker() turn_on_sound()
def exit(self): self.grammar.unload() toggle_speechrec() turn_on_sound()
def exit(self): self.mode = "regular" turn_on_sound() update_overlay_image("default") toggle_eyetracker()