I want to make simple driver that will simulate keyboard input at driver level. My first idea was to make simple kbdclass filter driver. But at this point I can't inject my input whenever I want(I need to wait for IRP and then change KEYBOARD_INPUT array). Can somebody explain me how could it be done? Also this need to be done in old manner (No kmdf at all). Thanks!
Look at the VHIDMini2 driver in the WDK