Pyautogui同时按下键盘和鼠标

问题描述 投票:0回答:0

我正在开发游戏中的 pyautogui 程序,需要按 CTRL + MouseLeftButton

pyautogui.press('ctrl')
pyautogui.click()

你能帮我同时做吗

我知道我可以在键盘上按 2 次使用

pyautogui.press('key1', 'key2')

但找不到如何使用鼠标和键盘执行此操作

python automation pyautogui
© www.soinside.com 2019 - 2024. All rights reserved.