We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python使用的库自身无法进行低层次输入模拟。 研究了3小时C语言写键盘Hook,直接将事件发送给想要自动化的软件。也没有成功 有了解现在网游的阻止模拟输入的方法的可以联系下我,想学习
The text was updated successfully, but these errors were encountered:
目前windows下常用的python模拟键鼠库(pynput, keyboard, mouse, pywin32)都是通过微软的系统api模拟输入,一些游戏或是为了提高输入效率或是防物理外挂,会屏蔽系统api级别的输入。比如使用DirectX接口(DirectInput)的游戏,读取设备输入时会绕过windows的消息机制而直接和键盘驱动交互,导致模拟的软件失效。 也不是没有处理的办法...比如实现驱动级别的模拟,但是很折腾。对于这款软件的开发而言,就不对游戏做专门适配了。如果你敢兴趣,可以了解一下相关的内容,我在github上就看到有一些标注驱动级模拟输入的项目。
Sorry, something went wrong.
No branches or pull requests
Python使用的库自身无法进行低层次输入模拟。
研究了3小时C语言写键盘Hook,直接将事件发送给想要自动化的软件。也没有成功
有了解现在网游的阻止模拟输入的方法的可以联系下我,想学习
The text was updated successfully, but these errors were encountered: