📜  python 街机鼠标 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:26.289000             🧑  作者: Mango

代码示例1
#Called when the user presses a mouse button.
def on_mouse_press(self, x, y, button, key_modifiers):
    pass

#Called when the user presses a mouse button.
def on_mouse_release(self, x: float, y: float, button: int, modifiers: int):
    pass

#User moves mouse
def on_mouse_motion(self, x: float, y: float, dx: float, dy: float):
    pass