Virtual mouse and keyboard driver for Windows 7 and higher.
- Disable Driver Signature Enforcement.
- Install the driver using
devcon.exe
or manually. - Use the driver just like it is used in the example.
Virtual mouse and keyboard driver for Windows 7 and higher
License: MIT License
Virtual mouse and keyboard driver for Windows 7 and higher.
devcon.exe
or manually.The inf file you are using will not work in new versions of visual studio thanks to the wonderful choice by Microsoft to remove Dual DefaultInstall and Manufacturer settings in your inf file.
I have been reading your posts and this seems like a really cool project. Have been interested in the HID emulation side of driver development for a remote control project.
I have finished the driver and now it works perfectly, but only on Win8.1 and Win10. On Win7 it starts, but when it comes to recognizing HID devices specified in HID report descriptor, Win7 puts them into the 'Other devices category'.
The two yellowed devices are the mouse and keyboard, and the third is a fake HID device I use to send output reports (because mouse and keyboard are opened by HID services exclusively).
Win8.1 and Win10 do everything right and put each HID device in its category (Mouse, Keyboard, and HID for the 3rd fake HID device).
Note: now there is the 4th HID device (similar to the 3rd, but the 3rd is for mouse and the 4th is for keyboard).
I'm sorry
I' be silly what a idiot lol
Hi there
I am developing virtual mouse/keyboard device and driver in Windows 11.
I've modify the hidriver.inf file like below
[Version]
Signature="$WINDOWS NT$"
Class=VirtualDriver
ClassGuid={56aabbba-89af-11ee-b3e3-b3f6a4306fba}
Provider=%ProviderName%
CatalogFile=hidriver.cat
DriverVer=01/07/2018
[SourceDisksNames]
1=%DiskName%,,,
[SourceDisksFiles]
hidriver.sys=1
[DestinationDirs]
DefaultDestDir=12
[Microsoft.NT$ARCH$.6.1]
%DeviceName%=DefaultInstall,root\hidriver
[DefaultInstall.NT]
CopyFiles=Files
[Files]
hidriver.sys
[DefaultInstall.NT.HW]
AddReg=HWAddReg
[HWAddReg]
HKR,,"LowerFilters",0x00010008,"hidriver"
[DefaultInstall.NT.Services]
AddService=hidriver,0x00000000,hidriverService
AddService=mshidkmdf,0x00000002,mshidkmdfService
[hidriverService]
DisplayName=%ServiceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\hidriver.sys
[mshidkmdfService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\mshidkmdf.sys
[DefaultInstall.NT.Wdf]
KmdfService=hidriver,KmdfLibrary
[KmdfLibrary]
KmdfLibraryVersion=$KMDFVERSION$
[Strings]
DeviceName="VARIABLE_1"
DiskName="VARIABLE_2"
ProviderName="VARIABLE_3"
ManufacturerName="VARIABLE_4"
ServiceName="VARIABLE_5"
ClassName="VARIABLE_6"
It compiles ok but install failed.
PS C:\workspace\loki-hidriver\x64\Release> devcon.exe install .\hidriver.inf root\hidriver
devcon.exe failed.
Is there anyway to know how to install or debug it?
Or how can I get the Windows 11 support version.
Hope for help. Thanks!!
i am greenhorn in drivers and so sorry for my poor english
function QueueManualSendReport in queue_manual.c construct a hid data
finial CopyToRequestBuffer copy the data and use CopyToRequestBuffer ,
I wonder who processed hid data and move the mouse in the end,
Will it be processed by the system's HID driver after copying?
i can not find any operate like WdfRequestSend or something
please help me
I've been fightingit with chatgpt all night and rellay need your help
I appreciate your response ,thank you
Could it install more than one set of drivers?
For example up to 4 mouses and 4 keyboards.
i am greenhorn in drivers and so sorry for my poor english
function QueueManualSendReport in queue_manual.c construct a hid data
finial CopyToRequestBuffer copy the data and use CopyToRequestBuffer ,
I wonder who processed hid data and move the mouse in the end,
Will it be processed by the system's HID driver after copying?
i can not find any operate like WdfRequestSend or something
please help me
I've been fightingit with chatgpt all night and rellay need your help
I appreciate your response ,thank you
Thanks anyway
or tell me the build environment ,Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.