remove debug prints

This commit is contained in:
hippoz 2021-11-04 02:32:40 +02:00
parent 11293e9139
commit 8a95938b17
No known key found for this signature in database
GPG key ID: 7C52899193467641

View file

@ -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"])