How to emulate mouse?

Dear Sir,
I’m writing touch screen device driver. I finished device read-write data .sys.
I want to emulte mouse in the driver.I find mouclass in WIn32 DDK would help.
Am I right?How to emulate mouse?how to start?Please advice.Thanks a lot.


ÑÅ»¢1GÃâ·ÑÓÊÏä°Ù·Ö°Ù·ÀÀ¬»øÐÅ
ÑÅ»¢ÖúÊÖ-ËÑË÷¡¢É±¶¾¡¢·ÀɧÈÅ

There are a lot of ways that this can be accomplished.

Here are several places to look to get started: the HID mini-driver
documentation (and accompanying firefly sample), the moufiltr sample,
and the source for i8042prt, all in the DDK.

You could even do this in user-mode by calling SendInput, depending on
what your requirements are.

Yu Zhou wrote:

Dear Sir,
I’m writing touch screen device driver. I finished device
read-write data .sys.
I want to emulte mouse in the driver.I find mouclass in WIn32 DDK would
help.
Am I right?How to emulate mouse?how to start?Please advice.Thanks a lot.


ÑÅ»¢1GÃâ·ÑÓÊÏä°Ù·Ö°Ù·ÀÀ¬»øÐÅ http:
> ÑÅ»¢ÖúÊÖ-ËÑË÷¡¢É±¶¾¡¢·ÀɧÈÅ http:


Ray</http:></http:>

You need to install a pnp mouse stack and report your data through the
pnp stack. Is this a serial attached device? If so, is it serial
enumerable? If not, is your current driver a pnp driver? If so, just
change the device class in the INF to the mouse and pointers class.

d