diff --git a/capybara b/capybara index 9000eda..eb90ea6 100755 --- a/capybara +++ b/capybara @@ -75,10 +75,12 @@ class InputController(): return False elif code == "r": self.mouse_controller.move(args["x"], args["y"]) - print(args["x"], args["y"]) + print("r", args["x"], args["y"]) elif code == "d": + print("d", args["button"]) self.mouse_controller.press(self.button_code_to_object(args["button"])) elif code == "u": + print("u", args["button"]) self.mouse_controller.release(self.button_code_to_object(args["button"])) else: print("got invalid code from parser (is this a bug with the MessageParser?)") diff --git a/public/index.html b/public/index.html index cf9cf63..a39da72 100644 --- a/public/index.html +++ b/public/index.html @@ -3,8 +3,7 @@
- -