kbfiltr or kbdclass customization

Hello Guys,
I’m new to WDK for windows driver development

The problem is I’m developing an application to send keys to the system

and we want to hold down the keys like Send(“{A Down}”)
the problem is I learnt that the original keyboard driver is rejecting any “hold keys” requests from any source other than the keyboard keys themselves

So, I want to modify either the ‘kbfiltr’ for PS/2 keyboard or ‘kbdclass’ for any keyboard

but I don’t know what to do

I’m reading the documentation and read some examples for the kbfiltr

but they are not what I want

any ideas what I can do to accomplish it?

Ahmed Dawod

Not that it belongs here, but use either keybd_event or SendInput APIs.