turning a device into a mouse



Saluations,

I am slowly coming to grips with the task of creating some driver-level
code to add to existing regular driver code to make a mouse of a device.

I need to accept a stream of bytes from a device connected by way of a
USB/COM port, and turn the byte stream into what you'd expect to see
from a regular mouse input stream.

I originally thought I only needed to create a mouse filter driver to
convert the byte stream, but now I'm thinking that I need something
lower, the equivalent of a filter driver "between" the USB/COM driver
and the mouse drivers, to turn the byte stream into a bona fide mouse
stream before the mouse driver code sees anything.

Does this thinking make sense?

I have to somehow persuade the system to recognize this resultant
contraption as a mouse.

I'm reading the WDK documentation, studying the somewhat cryptic .inf
file configuration process, and trawling for clues. And slowly reading
the archive for this newsgroup.

For now I'm only trying to get this to work on xp.

Thanks!

-Michael Brian Bentley
.



Relevant Pages

  • RE: Device driver load/unload notifications
    ... notification for every StreamDevice driver which is in the system. ... you'll get only the notification for your special device. ... if you use your own guid or the DEVCLASS_STREAM_GUID. ... When stream driver A is being loaded and unloaded, ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Device driver load/unload notifications
    ... notification for every StreamDevice driver which is in the system. ... you'll get only the notification for your special device. ... if you use your own guid or the DEVCLASS_STREAM_GUID. ... When stream driver A is being loaded and unloaded, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: turning a device into a mouse
    ... i would suggest creat a HID miniport. ... much simpler than writing a driver. ... > code to add to existing regular driver code to make a mouse of a> device. ... and turn the byte stream into what you'd expect to see ...
    (microsoft.public.development.device.drivers)
  • Confused about Kernel Streaming / DShow clocks...
    ... queried to give me a very accurate clock source. ... master clock for the graph (which might be themselves, ... then my clock support is going via the stream class driver. ...
    (microsoft.public.development.device.drivers)
  • Confused about Kernel Streaming / DShow clocks...
    ... queried to give me a very accurate clock source. ... master clock for the graph (which might be themselves, ... then my clock support is going via the stream class driver. ...
    (microsoft.public.win32.programmer.directx.video)