Press the mouse button.
(self, button: Literal["left", "right", "middle"] = "left")
| 403 | self.commands.run(f"xdotool mousemove --sync {x} {y}") |
| 404 | |
| 405 | def mouse_press(self, button: Literal["left", "right", "middle"] = "left"): |
| 406 | """ |
| 407 | Press the mouse button. |
| 408 | """ |
| 409 | self.commands.run(f"xdotool mousedown {MOUSE_BUTTONS[button]}") |
| 410 | |
| 411 | def mouse_release(self, button: Literal["left", "right", "middle"] = "left"): |
| 412 | """ |