예제 #1
0
def remove_mouse_monitor():

    actr.remove_command_monitor("click-mouse", "sc2-mouse-click")
    actr.remove_command("sc2-mouse-click")

    global mouse_monitor_installed
    mouse_monitor_installed = False
예제 #2
0
def remove_key_monitor():

    actr.remove_command_monitor("output-key","cartpole-key-press")
    actr.remove_command("cartpole-key-press")

    global key_monitor_installed
    key_monitor_installed = False
예제 #3
0
    def remove_key_monitor(self):

        cmuactr.remove_command_monitor("output-key", "cartpole-key-press")
        cmuactr.remove_command("cartpole-key-press")

        self.key_monitor_installed = False