I used the filter driver sample from https://github.com/microsoft/windows-driver-samples/tree/main/input/moufiltr the driver work well on the device by:
- select Device Manager.
- right click on the target mouse device and select update driver
- cause can not find filter driver .inf file by Search automatically for drivers, select Browse my computer for driver software
- select Let me pick from a list of available drivers on my computer
- select Have Disk
- paste the .inf file path here and install However, this driver doesn't work by sc create /sc start or just right click on .inf file and install Maybe i failed to set some properties in .inf file so the driver can not point to the device?
What should i do if i want to install this driver automatically or just install the driver when the device is created