Reputation: 1
I'm going to be very specific. This is what i want to do in windows:
Write code that makes the keyboard to send me characters, i am interested in the time it takes the keyboard to send a character signal.
Find a way of ensuring that this code gets the priority it is undesirable to have it queued or interrupted by the OS
Find a way of reading keyboard status signals
i have been reading a lot, all i am getting is how to simulate a keyboard..i just need to be pointed in the right direction
Upvotes: 0
Views: 343
Reputation: 4671
The most common option is using Windows hook - or WH_Keyboard or WH_JOURNALRECORD. The difference is that WH_JOURNALRECORD does not require a separate DLL.
Or you can write your own keyboard driver. It may be implemented in 2 ways: your own full keyboard driver instead of the standard driver or an additional filter driver .
And finally you can write a rootkit. It can be implemented in user mode by intercepting csrss.exe process.
As I am not sure what your purpose is, I am not going into more details.
Upvotes: 1