A virtual mouse port driver and a virtual HID mouse do exactly the same thing. The difference is only where you implement your functionality to report input and how hard it is to so from each design. The advantage of a HID device is that you get the mouse stack for free, you just pump data into hidclass and you are done. A virtual mouse must support the mouclass IOCTL set and then report data via a service callback function pointer provided at init. Both have their own quirks, but typically a hid miniport or hidshim + hid driver beneath is a bit easier to implement.
d
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@knowwareinc.com
Sent: Tuesday, January 29, 2008 11:44 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] HID vs. non-HID device differences
I am developing the driver(s) necessary to support a virtual *HID* mouse device stack.
Upon posting some questions regarding some issues related to this development, the following question was posed to me:
Do I really needed a virtual *HID* mouse, or just a virtual mouse?
As I reflected on this, I guess I came to the realization that I really do not know the difference, and therefore what advantage(s) might be served either way.
Is anyone able to shed any light on this topic?
BTW, the “goal” for my project is to be able to simply control mouse movements from
a disparate driver stack, autonomously from other existing physical mouse devices already present on the system.
Thank you in adance.
Mark H
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer