remove debug prints
This commit is contained in:
parent
11293e9139
commit
8a95938b17
1 changed files with 0 additions and 5 deletions
5
capybara
5
capybara
|
@ -116,18 +116,13 @@ class InputController():
|
||||||
return False
|
return False
|
||||||
elif code == "r":
|
elif code == "r":
|
||||||
self.mouse_controller.move(args["x"], args["y"])
|
self.mouse_controller.move(args["x"], args["y"])
|
||||||
print("r", args["x"], args["y"])
|
|
||||||
elif code == "d":
|
elif code == "d":
|
||||||
print("d", args["button"])
|
|
||||||
self.mouse_controller.press(self.button_code_to_object(args["button"]))
|
self.mouse_controller.press(self.button_code_to_object(args["button"]))
|
||||||
elif code == "u":
|
elif code == "u":
|
||||||
print("u", args["button"])
|
|
||||||
self.mouse_controller.release(self.button_code_to_object(args["button"]))
|
self.mouse_controller.release(self.button_code_to_object(args["button"]))
|
||||||
elif code == "c":
|
elif code == "c":
|
||||||
print("c", args["button"])
|
|
||||||
self.mouse_controller.click(self.button_code_to_object(args["button"]))
|
self.mouse_controller.click(self.button_code_to_object(args["button"]))
|
||||||
elif code == "s":
|
elif code == "s":
|
||||||
print("s", args["x"], args["y"])
|
|
||||||
self.mouse_controller.scroll(args["x"], args["y"])
|
self.mouse_controller.scroll(args["x"], args["y"])
|
||||||
elif code == "k":
|
elif code == "k":
|
||||||
key = self.deserialize_key(args["key"])
|
key = self.deserialize_key(args["key"])
|
||||||
|
|
Loading…
Reference in a new issue