Please help, I need a keyboard filter driver to simulate keystrokes

Hi all,

I’m trying to find a keyboard filter driver to simulate keystrokes. Do
you know about any filter driver available? Please help!

My program will somehow notify the driver, and the driver will send a
key (like the user has pressed a key). The problem is I will have to
learn Windows DDK to know how to write that filter driver and it takes a
lot of time :-(. I have read the example kbfiltr in Windows DDK and
still don’t know to use it. If there is any available product, I will
use it instead of writing it by myself. I also need a mouse driver to
simulate mouse events also. From my understanding, writing a filter
driver is the only choice because some programs using DirectInput will
work directly with driver and they will not see my keys if I use
Win32API to simulate.

Thanks in advance,

Thai

This email may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

Just call SendInput from user mode. It’s the same as injecting the
character from a driver for almost all practical purposes.

DirectInput will only fail to see it if the app has explicitly asked to
fail to see it, in which case I wonder why you think you know better?

Ha, Thai wrote:

Hi all,

I’m trying to find a keyboard filter driver to simulate keystrokes. Do
you know about any filter driver available? Please help!

My program will somehow notify the driver, and the driver will send a
key (like the user has pressed a key). The problem is I will have to
learn Windows DDK to know how to write that filter driver and it takes a
lot of time L. I have read the example kbfiltr in Windows DDK and still
don’t know to use it. If there is any available product, I will use it
instead of writing it by myself. I also need a mouse driver to simulate
mouse events also. From my understanding, writing a filter driver is the
only choice because some programs using DirectInput will work directly
with driver and they will not see my keys if I use Win32API to simulate.

Thanks in advance,

Thai

This email may contain material that is confidential, privileged and/or
attorney work product for the sole use of the intended recipient. Any
review, reliance or distribution by others or forwarding without express
permission is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


…/ray..

Please remove “.spamblock” from my email address if you need to contact
me outside the newsgroup.