Keyboard Filter

Hi.

I hae a keyboard filter and I have a few questions, I would like to be able to hold down a key in the correct way, I could make a keyboard repeat timer so the key is pressed every set number of intervals but this doesn’t feel correct, is the correct method to this to repeat the DOWN define or do I just use the DOWN define once until I am ready for the repeat to stop.

Many thanks as always,

why don’t you install your filter, and then look at what happens in the service callback when you hold down a key (the behavior you are describing is called the typematic rate). you could easily answer your own question in 10 minutes or less

d

Thankyou, I’m sorry I didn’t think of that.

I think USB keyboards have no hardware repeat timer, and the HID driver stack does the repeat in software.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
> Hi.
>
> I hae a keyboard filter and I have a few questions, I would like to be able to hold down a key in the correct way, I could make a keyboard repeat timer so the key is pressed every set number of intervals but this doesn’t feel correct, is the correct method to this to repeat the DOWN define or do I just use the DOWN define once until I am ready for the repeat to stop.
>
> Many thanks as always,
>

as a keyboard device upper filter, you don’t care that typematic is implemented as a sw timer vs hw implemented

d