# kmclassdll **Repository Path**: tcapollo/kmclassdll ## Basic Information - **Project Name**: kmclassdll - **Description**: No description available - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-11-29 - **Last Updated**: 2023-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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 ```