Can i simulate a Key Down & Up from a Kerner Mode Driver

Hey Friends

Is it possible to simulate a Key Down & Up from a Kernel Mode Driver ? New to this kernel mode programming & not sure whether i can ask for help about this question here. Books and online stuff says keyboard generates an interrup & we can intercept it using a Keyboard Filter Driver. Now what if i want to simulate one ?

Regards & Thanks in advance

Why do you want to do this? Just to see how or what is the bigger problem you are trying to solve. Input injection is not simple in km (as opposed to user mode where you can call SendInput)

d

debt from my phone


From: xxxxx@goa-ad.com
Sent: 11/7/2011 12:29 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Can i simulate a Key Down & Up from a Kerner Mode Driver

Hey Friends

Is it possible to simulate a Key Down & Up from a Kernel Mode Driver ? New to this kernel mode programming & not sure whether i can ask for help about this question here. Books and online stuff says keyboard generates an interrup & we can intercept it using a Keyboard Filter Driver. Now what if i want to simulate one ?

Regards & Thanks in advance


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

Hi

Yeah SendInput is good in user mode as long as our software application is working in pure windows mode. Now whenever user switches to some directx application or even a full screen flash application, the user is at the mercy of whatever the directx application or full screen flash application has to offer.

As i understand in Direct X mouse movements are different than user mode (But Keyboard works the same) and untill user leaves that directx application, no other application can help him / her, whereas in user mode, the user always has tons of applications to assist him / her & can utilize the power of multiple process operating system

So i wish to provide user another way in which he / she can get the help from driver developers.

Regards & Thanks in advance

Doing this from a driver is overkill. Have a helper app run in the current user session and have it get the data from the driver and call SendInput.

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@goa-ad.com
Sent: Monday, November 07, 2011 1:10 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Can i simulate a Key Down & Up from a Kerner Mode Driver

Hi

Yeah SendInput is good in user mode as long as our software application is working in pure windows mode. Now whenever user switches to some directx application or even a full screen flash application, the user is at the mercy of whatever the directx application or full screen flash application has to offer.

As i understand in Direct X mouse movements are different than user mode (But Keyboard works the same) and untill user leaves that directx application, no other application can help him / her, whereas in user mode, the user always has tons of applications to assist him / her & can utilize the power of multiple process operating system

So i wish to provide user another way in which he / she can get the help from driver developers.

Regards & Thanks in advance


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

>

Doing this from a driver is overkill. Have a helper app run in the
current user
session and have it get the data from the driver and call SendInput.

Also, some games seem to be able to detect event injection and don’t
like it, which might come in to play if the OP was writing an aim bot or
something…

James