https://github.com/bestburning/kmclassdll
kmclass虚拟键鼠的动态库dll
https://github.com/bestburning/kmclassdll
dll driver keyboard kmclass mouse win10
Last synced: about 2 months ago
JSON representation
kmclass虚拟键鼠的动态库dll
- Host: GitHub
- URL: https://github.com/bestburning/kmclassdll
- Owner: BestBurning
- License: agpl-3.0
- Created: 2020-03-17T10:27:09.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-14T03:21:34.000Z (almost 5 years ago)
- Last Synced: 2024-12-08T07:32:05.679Z (11 months ago)
- Topics: dll, driver, keyboard, kmclass, mouse, win10
- Language: C++
- Homepage: https://di1shuai.com/kmclass%E8%99%9A%E6%8B%9F%E9%94%AE%E9%BC%A0%E9%A9%B1%E5%8A%A8.html
- Size: 26.4 KB
- Stars: 152
- Watchers: 6
- Forks: 64
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# kmclassdll
[kmclass](https://github.com/BestBurning/kmclass) 虚拟键鼠驱动的动态库## 编译
建议使用[Visual Studio 2019](https://visualstudio.microsoft.com/zh-hans/vs/)进行编译,
如何编译可参考 [编译dll并在python中使用ctypes调用](https://di1shuai.com/%E7%BC%96%E8%AF%91dll%E5%B9%B6%E5%9C%A8python%E4%B8%AD%E4%BD%BF%E7%94%A8ctypes%E8%B0%83%E7%94%A8.html)## python 示例
示例文件为 [python_examples.py](https://github.com/BestBurning/kmclassdll/blob/master/python_examples.py)
1. 自行编译或下载
- [kmclassdll.dll](https://github.com/BestBurning/kmclassdll/releases) - 动态库
- [kmclass.sys](https://github.com/BestBurning/kmclass/releases) - 驱动2. 修改变量路径为你的真实路径
- `dll_path`
- `driver_path````
dll_path = 'YourPath\\kmclassdll.dll'
driver_path = b'YourPath\\kmclass.sys'
```
3. 开启 **测试模式** & **禁用强制驱动签名** 模式 & **重启**`管理员身份`打开`CMD`
```
bcdedit /set nointegritychecks on
bcdedit /set testsigning on
shutdown -r -t 0
```
4. 重启后**管理员身份**运行
```
python python_examples.py
```