Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Virtual HID Mouse Driver

Reply
Thread Tools Display Modes

Virtual HID Mouse Driver

 
 
mike
Guest
Posts: n/a

 
      10-04-2010
Hi,
I started programming a Virtual Mouse Driver to simulate mouse inputs. I
used to hidfake example from Walter Oney's Book as a start. I Changed the
Report Descriptor and the installed Microsoft's HID compatible Mouse drivers
for the device and was able the simulate inputs by replying the corresponding
Reports to the Read Report Request. My Problem is now, how to communicate
with the driver from user mode, since I can't use DeviceIOControl because
windows won't allow this for a mouse driver, I figured I should use
HidD_SetFeature, I added the corresponding parts to the Report Descriptor,
but HidD_SetFeature keeps failing and last error returns error code 23. I
used windbg to get the debug messages, but it seems the driver isn't even
receiving the IOCTL_HID_SET_FEATURE. What am I doing wrong? Would be very
nice, If someone could help...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista32, new driver? & USB Mouse/Keyboard not working Scott J. Stringfellow Windows Vista Hardware 27 04-01-2010 05:22 PM
Slow Vista startup Jedi940 Windows Vista Performance 1 01-13-2008 08:50 PM
crcdisk.sys start up problem (with boot log) Jimmy Windows Vista Hardware 2 08-13-2007 07:22 PM
BUGCODE_USB_DRIVER with external USB HDD PHILIPS Deathwing00 Windows Vista Hardware 11 06-15-2007 07:02 PM
Re: No Matter What Installations Won't Boot On My Laptop Richard Urban Windows Vista Installation 1 01-06-2007 05:08 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59