An open API service indexing awesome lists of open source software.

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

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
```